Click or drag to resize
Vector2IArea Method
Returns a positive number if c is to the left of the line going from a to b.

Namespace: Slash.Math.Algebra.Vectors
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static int Area(
	Vector2I a,
	Vector2I b,
	Vector2I c
)

Parameters

a
Type: Slash.Math.Algebra.VectorsVector2I
First point of the line.
b
Type: Slash.Math.Algebra.VectorsVector2I
Second point of the line.
c
Type: Slash.Math.Algebra.VectorsVector2I
Point to check against the line.

Return Value

Type: Int32
Positive number if point is left, negative if point is right, and 0 if points are collinear.
See Also