AnyCAD Rapid SDK  2020
The Rapid CAD SDK
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
Vector3 Class Reference

Public Member Functions

synchronized void delete ()
 
 Vector3 (float scalar)
 
 Vector3 (float a, float b, float c)
 
void setX (float value)
 
float getX ()
 
void setY (float value)
 
float getY ()
 
void setZ (float value)
 
float getZ ()
 
Vector3 clone ()
 
void add (Vector3 v)
 
void sub (Vector3 v)
 
void applyMatrix4 (Matrix4 trf)
 
void multiplyScalar (float scalar)
 
void normalize ()
 
Vector3 normalized ()
 
float length ()
 
float distanceTo (Vector3 v)
 
float angleTo (Vector3 v)
 
float dot (Vector3 v)
 
Vector3 cross (Vector3 v)
 

Protected Member Functions

 Vector3 (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (Vector3 obj)
 

Protected Attributes

transient boolean swigCMemOwn