Constructor
new Angle(valuenullable, radnullable)
Angle constructor.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
value |
number |
<nullable> |
Angle value. |
rad |
boolean |
<nullable> |
true if value is in radians, false if in degrees. |
- Source:
Members
cos :number
Cosine.
Type:
- number
- Source:
deg :number
Angle in degrees.
Type:
- number
- Source:
rad :number
Angle in radians.
Type:
- number
- Source:
sin :number
Sine.
Type:
- number
- Source: