Click or drag to resize

GeometryIsInHalfPlane Method (Vector2, Vector2, Vector2)

Determines whether a point is in the half plane described by a point and direction.

Namespace:  Gamelogic.Extensions
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static bool IsInHalfPlane(
	Vector2 point,
	Vector2 halfPlanePoint,
	Vector2 halfPlaneDirection
)

Parameters

point
Type: Vector2
The point to check.
halfPlanePoint
Type: Vector2
The half plane point.
halfPlaneDirection
Type: Vector2
The half plane direction.

Return Value

Type: Boolean
true if the point is in the half plane; otherwise, false.
See Also