Create a vector from cartesian coordinates
The cartesian x-coordinate
The cartesian y-coordinate
The cartesian z-coordinate
ReadonlyphiThe angle of the vector in radians, measured from the xy-plane
ReadonlyrThe magnitude/length of the vector
ReadonlythetaThe angle of the vector in radians, measured from the x-axis
ReadonlyxThe cartesian x-coordinate
ReadonlyyThe cartesian y-coordinate
ReadonlyzThe cartesian z-coordinate
Compute the dot product between this vector and another vector
Arbitrary vector
v1 . v2
Determine if two vectors are equal (or approximately equal)
Arbitrary vector
Optional absolute tolerance
true if v1 = v2
Scale this vector by a numeric factor
Scaling factor
A scaled vector
StaticfromCreate a vector from polar coordinates
The magnitude/length of the vector
The angle of the vector in radians, measured from the x-axis
The angle of the vector in radians, measured from the xy-plane
A vector created from polar coordinates
Structure for a vector in 3D space.