Click or drag to resize

MathUtilsArea Method (Vector2, Vector2, Vector2)

Returns a positive number if c is to the left of the line going from a to b.

Namespace:  Internal.tainicom.Aether.Physics2D.Common
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static float Area(
	ref Vector2 a,
	ref Vector2 b,
	ref Vector2 c
)

Parameters

a
Type: Internal.tainicom.Aether.Physics2D.CommonVector2
b
Type: Internal.tainicom.Aether.Physics2D.CommonVector2
c
Type: Internal.tainicom.Aether.Physics2D.CommonVector2

Return Value

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