Click or drag to resize
DigitalRuneDcelMeshContains Method
Determines whether the specified point is contained in the mesh. (This method assumes that the mesh is a convex polyhedron.)

Namespace: DigitalRune.Geometry.Meshes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public bool Contains(
	Vector3F point,
	float epsilon
)

Parameters

point
Type: DigitalRune.Mathematics.AlgebraVector3F
The point.
epsilon
Type: SystemSingle
The epsilon tolerance. A point counts as "contained" if the distance to the mesh surface is less than this value. Use a small positive value, e.g. 0.001f, for numerical robustness.

Return Value

Type: Boolean
if the specified point is contained; otherwise, . (The result is undefined if the mesh is not a convex polyhedron.)
See Also