Click or drag to resize
DigitalRuneDcelMeshIsConvex Method (Single)
Determines whether this mesh is a convex mesh using a specific tolerance.

Namespace: DigitalRune.Geometry.Meshes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public bool IsConvex(
	float epsilon
)

Parameters

epsilon
Type: SystemSingle
The epsilon tolerance value. Numerical errors within this tolerance are accepted. This value is automatically scaled with the mesh size. Recommended values are 0.001 or 0.0001.

Return Value

Type: Boolean
if this mesh is a convex mesh; otherwise, .
Remarks
This method also checks if the mesh is closed (see IsClosed).
See Also