'Declaration
Public Overloads Shared Function Determinant( _ ByVal a As NPointI, _ ByVal b As NPointI, _ ByVal c As NPointI _ ) As System.Integer
'Usage
Dim a As NPointI Dim b As NPointI Dim c As NPointI Dim value As System.Integer value = NGeometry2D.Determinant(a, b, c)
Parameters
- a
- Triangle point 1.
- b
- Triangle point 2.
- c
- Triangle point 3.
Return Value
The oriented area of the triangle. If the returned value is positive -> the triplet is counter-clockwise oriented (CCW). If the returned value is negative -> the triplet is clockwise oriented (CW). If the returned value equals zero -> the triplet is collinear.