Click or drag to resize
DigitalRuneGeometryHelperIsOver Method (Triangle, Vector3F, Single)
Determines whether the projection of a point (into the triangle plane) is inside the given triangle.

Namespace: DigitalRune.Geometry
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public static bool IsOver(
	Triangle triangle,
	Vector3F point,
	float epsilon
)

Parameters

triangle
Type: DigitalRune.Geometry.ShapesTriangle
The triangle.
point
Type: DigitalRune.Mathematics.AlgebraVector3F
The point.
epsilon
Type: SystemSingle
The allowed numerical tolerance. This value "increases" the size of the triangle and makes the check tolerant to numerical errors. Use a very small value, like 0.0001.

Return Value

Type: Boolean
if the orthogonal projection of point is inside the triangle; otherwise, .
See Also