| GeometryHelperIsOver Method (Triangle, Vector3F, Single) |
Determines whether the projection of a point (into the triangle plane) is inside the given
triangle.
Namespace: DigitalRune.GeometryAssembly: 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
)
Public Shared Function IsOver (
triangle As Triangle,
point As Vector3F,
epsilon As Single
) As Boolean
public:
static bool IsOver(
Triangle triangle,
Vector3F point,
float epsilon
)
static member IsOver :
triangle : Triangle *
point : Vector3F *
epsilon : float32 -> bool
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