| DcelMeshIsValid Method (String) |
Determines whether this instance is a valid mesh and returns an error description.
Namespace: DigitalRune.Geometry.MeshesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public bool IsValid(
out string errorDescription
)
Public Function IsValid (
<OutAttribute> ByRef errorDescription As String
) As Boolean
public:
bool IsValid(
[OutAttribute] String^% errorDescription
)
member IsValid :
errorDescription : string byref -> bool
Parameters
- errorDescription
- Type: SystemString
The error description or if the mesh is valid.
Return Value
Type:
Boolean if this instance is valid; otherwise,
.
Remarks
This method checks if all components are linked properly. Problems can be:
- Missing components, e.g. a face is not entirely bound by edges.
- Wrong links, e.g. edge A has a twin B and the twin of B is not set to A.
- ...
See Also