Represents polar coordinates.
Create a new polar coordinate with the given radius, rho, and angle in radians, theta.
The math operations of addition, subtraction, multiplication and division are accomplished by first converting to complex numbers.
Scale the radius by some value.
Rotate the angle by some value.
Rotate by pi.
Mirror x, reflecting across Y axis.
Mirror y, reflecting across the X axis.
Mirror across the origin.
A synonym for neg.
Answer the radius.
Answer the angle in radians
Answer the angle in radians
Answer the real part.
Answer the imaginary part.
Convert to Complex
Convert to Point
Convert to Spherical
Convert to Cartesian
Answer the azimuth and elevation angles, theta and phi, in radians.
Answer the azimuth and elevation angles, theta and phi, in radians.
[ theta, 0 ]
Answer the azimuth and elevation angles, theta and phi, in radians.
[ theta, 0 ]
Answer the cartesian coordinate x of the receiver.
Answer the cartesian coordinate y of the receiver.
Answer the cartesian coordinate z of the receiver, 0.
Get or set the rho coordinate value.
Get or set the theta coordinate value.
Answers 0.
Answers a Boolean whether the receiver equals the argument.
Returns a hash value for the receiver.