Contents

init(r:theta:)

Creates a new vector in polar coordinate space.

Declaration

convenience init(r: Double, theta: Double)

Parameters

  • r:

    The length of the vector.

  • theta:

    The angle that the vector forms with the positive direction of the x-axis.

See Also

Creating a Vector