Converts a vector from an alternate coordinate system to the Cartesian coordinate system.
// Returns (1, 0) (converts polar coordinates (1, 0) to Cartesian)const v = Chalkboard.vect.fromAlternateToCartesian(Chalkboard.vect.init(1, 0), "polar"); Copy
// Returns (1, 0) (converts polar coordinates (1, 0) to Cartesian)const v = Chalkboard.vect.fromAlternateToCartesian(Chalkboard.vect.init(1, 0), "polar");
The vector
The alternate coordinate system, which can be "polar", "bipolar", "cylindrical", or "spherical"
Converts a vector from an alternate coordinate system to the Cartesian coordinate system.
Example