 
    
   
Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   FAQ   Tutorial
   24   Vector3D( StkFloat x = 0.0, StkFloat y = 0.0, StkFloat z = 0.0 ) { 
setXYZ( x, y, z ); };
 
   27   StkFloat 
getX( 
void ) { 
return X_; };
 
   30   StkFloat 
getY( 
void ) { 
return Y_; };
 
   33   StkFloat 
getZ( 
void ) { 
return Z_; };
 
   39   void setXYZ( StkFloat x, StkFloat y, StkFloat z ) { X_ = x; Y_ = y; Z_ = z; };
 
   42   void setX( StkFloat x ) { X_ = x; };
 
   45   void setY( StkFloat y ) { Y_ = y; };
 
   48   void setZ( StkFloat z ) { Z_ = z; };
 
  
void setZ(StkFloat z)
Set the Z value.
Definition: Vector3D.h:48
StkFloat getZ(void)
Get the current Z value.
Definition: Vector3D.h:33
StkFloat getX(void)
Get the current X value.
Definition: Vector3D.h:27
StkFloat getLength(void)
Calculate the vector length.
Definition: Vector3D.h:56
void setXYZ(StkFloat x, StkFloat y, StkFloat z)
Set the X, Y, and Z values simultaniously.
Definition: Vector3D.h:39
void setY(StkFloat y)
Set the Y value.
Definition: Vector3D.h:45
STK 3D vector class.
Definition: Vector3D.h:19
void setX(StkFloat x)
Set the X value.
Definition: Vector3D.h:42
The STK namespace.
Definition: ADSR.h:6
Vector3D(StkFloat x=0.0, StkFloat y=0.0, StkFloat z=0.0)
Default constructor taking optional initial X, Y, and Z values.
Definition: Vector3D.h:24
StkFloat getY(void)
Get the current Y value.
Definition: Vector3D.h:30
STK base class.
Definition: Stk.h:132