Class

UnitAngle

A unit of measure for rotation.

Declaration

class UnitAngle : Dimension

Overview

You typically use instances of NSUnitAngle to represent specific quantities of planar angle using the NSMeasurement class.

Angle

Angle is a quantity of rotation. The SI unit for angle is the radian (rad), which is dimensionless and defined to be the the angle subtended by an arc that is equal in length to the radius of a circle. Angle is also commonly expressed in terms of degrees (°) and revolutions (rev).

The NSUnitAngle class defines its base unit as degrees, and provides the following units, which are initialized using UnitConverterLinear converters with the specified coefficients:

Name

Method

Symbol

Definition

Degrees

degrees

°

1.0

Arc Minutes

arcMinutes

ʹ

0.016667

Arc Seconds

arcSeconds

ʺ

0.00027778

Radians

radians

rad

57.2958

Gradians

gradians

grad

0.9

Revolutions

revolutions

rev

360

Topics

Accessing Predefined Units

class var degrees: UnitAngle

Returns the degrees unit of angle.

class var arcMinutes: UnitAngle

Returns the arc minutes unit of angle.

class var arcSeconds: UnitAngle

Returns the arc seconds unit of angle.

class var radians: UnitAngle

Returns the radians unit of angle.

class var gradians: UnitAngle

Returns the gradians unit of angle.

class var revolutions: UnitAngle

Returns the revolutions unit of angle.

Relationships

Inherits From

See Also

Physical Dimension

class UnitArea

A unit of measure for area.

class UnitLength

A unit of measure for length.

class UnitVolume

A unit of measure for volume.