AnyCAD Rapid API 2023
Help you to create a better world!
Vector3 Class Reference

Public Member Functions

 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)