Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

fa9bb88c 9f11 24b0 4e56 17af7ed48e38

haplokuon edited this page May 6, 2023 · 1 revision

NormalizeAngle Method

netDxf 3.0.0 Library

Normalizes the value of an angle in degrees between [0, 360[.

Definition

Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public static double NormalizeAngle(
	double angle
)

VB

Public Shared Function NormalizeAngle ( 
	angle As Double
) As Double

C++

public:
static double NormalizeAngle(
	double angle
)

F#

static member NormalizeAngle : 
        angle : float -> float 

Parameters

  Double
Angle in degrees.

Return Value

Double
The equivalent angle in the range [0, 360[.

Remarks

Negative angles will be converted to its positive equivalent.

See Also

Reference

MathHelper Class
netDxf Namespace

Clone this wiki locally