AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
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 | applyMatrix4d (Matrix4d trf) |
void | multiplyScalar (float scalar) |
void | normalize () |
Vector3 | normalized () |
float | length () |
float | distanceTo (Vector3 v) |
float | angleTo (Vector3 v) |
float | orientedAngle (Vector3 v, Vector3 ref) |
float | dot (Vector3 v) |
Vector3 | cross (Vector3 v) |