In This Topic
The following tables list the members exposed by NAngle.
Public Constructors
Public Fields
| Name | Description |
 | Degree2Grad | Degrees to grads convertion constant |
 | Degree2Rad | Degrees to radians convertion constant |
 | Grad2Degree | Grads to degrees convertion constant |
 | Grad2Rad | Grads to degrees convertion constant |
 | Rad2Degree | Radians to degrees convertion constant |
 | Rad2Grad | Radians to grads convertion constant |
  | Zero | The zero (0) angle. |
Top
Public Properties
| Name | Description |
 | Negate | Returns the negative value of this NAngle |
 | Unit | The angle measurement unit |
 | Value | The angle value |
Top
Public Methods
| Name | Description |
  | AngleInRange | Determines whether angle is in the sweep arc from start angle (in radians). |
 | CompareTo | Compares this instance to a specified object and returns an indication of their relative values. |
 | Deserialize | Deserializes the object state from the specified property bag. |
 | Equals | Overloaded. Determines whether this angle is equal to the specified angle |
  | FromDegrees | Creates an angle measured in degrees. |
  | FromGrads | Creates an angle measured in grads. |
  | FromRadians | Creates an angle measured in radians. |
  | GetAngleQuadrant | Returns the quadrant (0, 1, 2, 3) of the specified angle. |
 | GetHashCode | Returns the hash code for this instance. |
 | Normalize | Returns the normalized angle of this angle |
  | NormalizeDegrees | Normalizes an angle specified in degrees to be in the range [0, 360). |
  | NormalizeDirectionRadians | Normalizes an angle specified in radians to be in the range [0: PI) |
  | NormalizeGrads | Normalizes an angle specified in grads to be in the range [0, 400). |
  | NormalizeRadians | Normalizes an angle specified in radians to be in the range [0, 2*PI). |
 | Serialize | Serializes the object state into the specified property bag. |
 | ToDegrees | Returns the angle measured in degrees |
 | ToGrads | Returns the angle measured in grads |
 | ToRadians | Returns the angle measured in radians |
 | ToString | Returns the string representation of this NAngle object. |
  | TrySnapAngle | Tries to snap angleToSnap to a whole value of the snapStep snapping step. Retruns true if the snappedAngle is at most +-snapDeviation from the angleToSnap. |
Top
Public Operators
Addition | Arithmetic binary plus operator. Defined if the lengths measurement units are from the same class (e.g. absolute+absolute, device+device, relative+relative). The resulting angle uses the {a} parameter measurement unit. |
Division | Overloaded. Division by scalar value. |
Equality | Logical Equal To operator |
Greater Than | Logical Greater Than operator |
Greater Than or Equal | Logical Greater Than Or Equal To operator |
Inequality | Logical Not Equal To operator |
Less Than | Logical Less Than operator |
Less Than or Equal | Logical Less Than Or Equal To operator |
Multiplication | Multiplication with a scalar value. |
Subtraction | Arithmetic binary minus operator. Defined if the lengths measurement units are from the same class (e.g. absolute-absolute, device-device, relative-relative). The resulting angle uses the {a} parameter measurement unit. |
Unary Negation | Arithmetic unary minus operator |
Unary Plus | Arithmetic unary plus operator. |
Top
See Also