Class: Polar

Polar(r, a)

Define a point with polar coordinates.

Constructor

new Polar(r, a)

Create a new point.

Parameters:
Name Type Description
r number

The distance for the origin.

a number

The angle in radians.

Source:

Methods

toPoint() → {Point}

Convert a Polar to a Point.

Source:
Returns:
Type
Point

toPointCenter(center) → {Point}

Convert a Polar to a Point, specifying the origin.

Parameters:
Name Type Description
center Point

The origin.

Source:
Returns:
Type
Point