| DcelMeshIsConvex Method (Single) |
Determines whether this mesh is a convex mesh using a specific tolerance.
Namespace: DigitalRune.Geometry.MeshesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public bool IsConvex(
float epsilon
)
Public Function IsConvex (
epsilon As Single
) As Boolean
public:
bool IsConvex(
float epsilon
)
member IsConvex :
epsilon : float32 -> bool
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