| Vector2FCollinear Method (Vector2F, Vector2F, Vector2F) |
Determines if three vectors are collinear (ie. on a straight line).
Namespace: Slash.Math.Algebra.VectorsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax public static bool Collinear(
ref Vector2F a,
ref Vector2F b,
ref Vector2F c
)
Public Shared Function Collinear (
ByRef a As Vector2F,
ByRef b As Vector2F,
ByRef c As Vector2F
) As Boolean
public:
static bool Collinear(
Vector2F% a,
Vector2F% b,
Vector2F% c
)
static member Collinear :
a : Vector2F byref *
b : Vector2F byref *
c : Vector2F byref -> bool
Parameters
- a
- Type: Slash.Math.Algebra.VectorsVector2F
First vector. - b
- Type: Slash.Math.Algebra.VectorsVector2F
Second vector. - c
- Type: Slash.Math.Algebra.VectorsVector2F
Third vector.
Return Value
Type:
Boolean True if the three vectors are collinear; otherwise, false.
See Also