Vector Object

Vector is a simple object used to specify 3D coordinates. All values are with respect to the original CC2 map coordinates. All angles are in degrees.

Properties

 

double x
double y
double z

   

Individual axis values.

Methods

 

String toString(void)

   

Returns the three stored coordinate properties in an easy to read String.

 

double valueOf(void)

   

Returns the length of the Vector.



Copyright© 2001 Thought Guild Inc.