 | Vector2FCollinear Method (Vector2F, Vector2F, Vector2F, Single) |
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
Syntaxpublic static bool Collinear(
ref Vector2F a,
ref Vector2F b,
ref Vector2F c,
float tolerance
)
Public Shared Function Collinear (
ByRef a As Vector2F,
ByRef b As Vector2F,
ByRef c As Vector2F,
tolerance As Single
) As Boolean
public:
static bool Collinear(
Vector2F% a,
Vector2F% b,
Vector2F% c,
float tolerance
)
static member Collinear :
a : Vector2F byref *
b : Vector2F byref *
c : Vector2F byref *
tolerance : float32 -> 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. - tolerance
- Type: SystemSingle
Tolerance to allow.
Return Value
Type:
Boolean True if the three vectors are collinear; otherwise, false.
See Also