FormIt Plugin API
v23.0.0 (2023.0.0)
|
WSM.Vector3d namespace.
Functions | |
json | Vector3d (x, y, z) |
Vector3d constructs a Vector3d. More... | |
json | AreEqual (v1, v2) |
Returns true if the two given unt vectors are equal. More... | |
json | Determinant (vector1, vector2, vector3) |
Returns the determinant of three unit vectors Parameters: In: WSM.UnitVector3d, WSM.UnitVector3d, WSM.UnitVector3d Out: double. More... | |
json | AddVector (vector1, vector2) |
Adds a unit vector to a unit vector. More... | |
json | SubtractVector (vector1, vector2) |
Subtracts unit vector 2 from unit vector 1. More... | |
json | MultiplyByFactor (vector, factor) |
Multiplies a unit vector by a factor. More... | |
json | Transform (vector, transf3d) |
Transforms a unit vector with the given WSM.Transf3d. More... | |
json | DotProduct (vector1, vector2) |
Returns the dot product between two unit vectors. More... | |
json | CrossProduct (vector1, vector2) |
Returns the cross product between unit vector1 and unit vector2. More... | |
json | Length (vector) |
Returns the length of a vector. More... | |
json | LengthSquared (vector) |
Returns the squared length of a vector. More... | |
json | GetNormalized (vector) |
Returns the normalized version of a vector. More... | |
json | GetAngleBetweenVectors (vector1, vector2) |
Returns the angle between two unit vectors in radians. More... | |
json | GetPerpendicularVector (vector) |
Returns a unit vector that is perpendicular to the given unit vector. More... | |
json | IsNull (vector) |
Returns true if the unit vector has zero length, false otherwise. More... | |
json | AreParallel (vector1, vector2) |
Returns true if two unit vectors are parallel (same or opposite direction) Parameters: In: WSM.UnitVector3d, WSM.UnitVector3d Out: bool. More... | |
json | ArePerpendicular (vector1, vector2) |
Returns true if two unit vectors are perpendicular Parameters: In: WSM.UnitVector3d, WSM.UnitVector3d Out: bool. More... | |
json | GetDominantDirection (vector) |
Returns the dominant direction of a unit vector as an integer 0 is X direction 1 is Y direction 2 is Z direction Parameters: In: WSM.UnitVector3d Out: int. More... | |
json | XDirection () |
Returns the unit vector in the x direction Parameters: In: Out: WSM.UnitVector3d. More... | |
json | YDirection () |
Returns the unit vector in the y direction Parameters: In: Out: WSM.UnitVector3d. More... | |
json | ZDirection () |
Returns the unit vector in the z direction Parameters: In: Out: WSM.UnitVector3d. More... | |