Click or drag to resize
Vector2ICollinear Method (Vector2I, Vector2I, Vector2I, Single)
Determines if three vectors are collinear (ie. on a straight line).

Namespace: Slash.Math.Algebra.Vectors
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static bool Collinear(
	ref Vector2I a,
	ref Vector2I b,
	ref Vector2I c,
	float tolerance
)

Parameters

a
Type: Slash.Math.Algebra.VectorsVector2I
First vector.
b
Type: Slash.Math.Algebra.VectorsVector2I
Second vector.
c
Type: Slash.Math.Algebra.VectorsVector2I
Third vector.
tolerance
Type: SystemSingle
Tolerance to allow.

Return Value

Type: Boolean
True if the three vectors are collinear; otherwise, false.
See Also