setToPolar

fun setToPolar(angle: Angle, length: Double = 1.0): MPoint

Updates a point from polar coordinates determined by an angle and a length. Angle 0 is pointing to the right, and the direction is counter-clock-wise


fun setToPolar(base: Point, angle: Angle, length: Float = 1.0f): MPoint
fun setToPolar(base: MPoint, angle: Angle, length: Double = 1.0): MPoint
fun setToPolar(x: Double, y: Double, angle: Angle, length: Double = 1.0): MPoint
fun setToPolar(x: Float, y: Float, angle: Angle, length: Float = 1.0f): MPoint