| DcelMeshFromTriangleMesh Method (ITriangleMesh) |
Namespace: DigitalRune.Geometry.MeshesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public static DcelMesh FromTriangleMesh(
ITriangleMesh mesh
)
Public Shared Function FromTriangleMesh (
mesh As ITriangleMesh
) As DcelMesh
public:
static DcelMesh^ FromTriangleMesh(
ITriangleMesh^ mesh
)
static member FromTriangleMesh :
mesh : ITriangleMesh -> DcelMesh
Parameters
- mesh
- Type: DigitalRune.Geometry.MeshesITriangleMesh
The triangle mesh.
Return Value
Type:
DcelMesh
The
DcelMesh.
Exceptions Remarks
Currently, creating
DcelMeshes is not supported if the triangle mesh consists
of unconnected sub-meshes or unconnected triangles. All parts of the triangle mesh must be
connected via an edge. (But it is not required that the mesh is closed.)
See Also