
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
STK 3D vector class. More...
#include <Vector3D.h>
Public Member Functions | |
| Vector3D (StkFloat x=0.0, StkFloat y=0.0, StkFloat z=0.0) | |
| Default constructor taking optional initial X, Y, and Z values. | |
| StkFloat | getX (void) |
| Get the current X value. | |
| StkFloat | getY (void) |
| Get the current Y value. | |
| StkFloat | getZ (void) |
| Get the current Z value. | |
| StkFloat | getLength (void) |
| 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. | |
STK 3D vector class.
This class implements a three-dimensional vector.
by Perry R. Cook, 1995-2012.
| The Synthesis ToolKit in C++ (STK) |
| ©1995-2012 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |