Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
#include <Vector3D.h>
Inheritance diagram for Vector3D:
This class implements a three-dimensional vector.
by Perry R. Cook, 1995 - 2004.
Public Member Functions | |
Vector3D (StkFloat initX=0.0, StkFloat initY=0.0, StkFloat initZ=0.0) | |
Default constructor taking optional initial X, Y, and Z values. | |
~Vector3D () | |
Class destructor. | |
StkFloat | getX () |
Get the current X value. | |
StkFloat | getY () |
Get the current Y value. | |
StkFloat | getZ () |
Get the current Z value. | |
StkFloat | getLength () |
Calculate the vector length. | |
void | setXYZ (StkFloat x, StkFloat y, StkFloat z) |
Set the X, Y, and Z values simultaniously. | |
void | setX (StkFloat x) |
Set the X value. | |
void | setY (StkFloat y) |
Set the Y value. | |
void | setZ (StkFloat z) |
Set the Z value. |
The Synthesis ToolKit in C++ (STK) |
©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |