Calculates Determinant of v1 and v2 Vector
Namespace:
Hyleos.Common.GeometryAssembly: Hyleos.Common (in Hyleos.Common.dll) Version: 1.0.3.2 (1.0.3.2)
Syntax
| C# |
|---|
public static float Determinant( Vector2D v1, Vector2D v2 ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Determinant ( _ v1 As Vector2D, _ v2 As Vector2D _ ) As Single |
| Visual C++ |
|---|
public: static float Determinant( Vector2D v1, Vector2D v2 ) |
Parameters
- v1
- Type: Hyleos.Common.Geometry..::.Vector2D
1st vector
- v2
- Type: Hyleos.Common.Geometry..::.Vector2D
2nd vector
Return Value
Determinant of two Vector2D
Remarks
- Negative when the Vector are listed in clockwise order
- Zero if vectors are co-linear