AngleExtensions.Normalize(Angle, Boolean) Method

Definition

Normalizes the angle so it is between 0° and 360° or between -180° and +180° respectively.

public static UnitsNet.Angle Normalize (this UnitsNet.Angle self, bool toFullCircle);
static member Normalize : UnitsNet.Angle * bool -> UnitsNet.Angle
<Extension()>
Public Function Normalize (self As Angle, toFullCircle As Boolean) As Angle

Parameters

self
UnitsNet.Angle

Instance to normalize

toFullCircle
Boolean

Set to true to normalize to 0-360°, otherwise normalizes to +/-180°

Returns

UnitsNet.Angle

Applies to