'Declaration
Public Overloads Shared Function Determinant( _ ByVal ax As System.Double, _ ByVal ay As System.Double, _ ByVal bx As System.Double, _ ByVal by As System.Double, _ ByVal cx As System.Double, _ ByVal cy As System.Double _ ) As System.Double
'Usage
Dim ax As System.Double Dim ay As System.Double Dim bx As System.Double Dim by As System.Double Dim cx As System.Double Dim cy As System.Double Dim value As System.Double value = NGeometry2D.Determinant(ax, ay, bx, by, cx, cy)
Parameters
- ax
- X coordinate of point a.
- ay
- Y coordinate of point a.
- bx
- X coordinate of point b.
- by
- Y coordinate of point b.
- cx
- X coordinate of point c.
- cy
- Y coordinate of point c.
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.