| DcelMeshFromTriangleMesh Method (TriangleMesh) |
Namespace: DigitalRune.Geometry.MeshesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public static DcelMesh FromTriangleMesh(
TriangleMesh mesh
)
Public Shared Function FromTriangleMesh (
mesh As TriangleMesh
) As DcelMesh
public:
static DcelMesh^ FromTriangleMesh(
TriangleMesh^ mesh
)
static member FromTriangleMesh :
mesh : TriangleMesh -> DcelMesh
Parameters
- mesh
- Type: DigitalRune.Geometry.MeshesTriangleMesh
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