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