Vector3D
| Kind of class: | class |
|---|---|
| Inherits from: | none |
| Classpath: | org.asapframework.util.types.Vector3D |
| File last modified: | Monday, 06 November 2006, 22:17:17 |
Class that contains a location in 3D space.
Summary
Constructor
- Vector3D (inX:Number, inY:Number, inZ:Number)
Class methods
- addVectors (inV1:Vector3D) : Vector3D
- static function to add two vectors and return the value of the sum
Constructor
Vector3D
function Vector3D (
inX:Number,
inY:Number,
inZ:Number)
Instance properties
x
x:Number
(read)
y
y:Number
(read)
z
z:Number
(read)
Class methods
Instance methods
addVector
copy
Returns:
- a new vector that is a copy of the vector this function is called on
equals
mulScalar
function mulScalar (
inNum:Number) : Void
multiply
subtract
toString
function toString (
) : String