PointsAngleNormalized Method
Calculates the normalized angle formed by the line (p1, p2) and the X axis.
'Declaration
Public Shared Function PointsAngleNormalized( _
ByVal As NPoint, _
ByVal As NPoint _
) As System.Double
'Usage
Dim p1 As NPoint
Dim p2 As NPoint
Dim value As System.Double
value = NGeometry2D.PointsAngleNormalized(p1, p2)
public static System.double PointsAngleNormalized(
NPoint ,
NPoint
)
Parameters
- p1
- First endpoint of the line.
- p2
- Second endpoint of the line.
Return Value
An angle (measured in radians) in the range [0, 2*PI).
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)