Class DSubmesh3Set
A set of submeshes of a base mesh. You provide a set of keys, and a Func
that returns the triangle index list for a given key. The set of DSubmesh3
objects are computed on construction.
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public class DSubmesh3Set : IEnumerable<DSubmesh3>, IEnumerable
Constructors
DSubmesh3Set(DMesh3, MeshConnectedComponents)
Construct submesh set for an already-computed MeshConnectedComponents instance
Declaration
public DSubmesh3Set(DMesh3 mesh, MeshConnectedComponents components)
Parameters
DSubmesh3Set(DMesh3, IEnumerable<Object>, Func<Object, IEnumerable<Int32>>)
Construct submesh set from given keys and key-to-indices Func
Declaration
public DSubmesh3Set(DMesh3 mesh, IEnumerable<object> keys, Func<object, IEnumerable<int>> indexSetsF)
Parameters
Fields
KeyToMesh
Mapping from keys to submeshes
Declaration
public Dictionary<object, DSubmesh3> KeyToMesh
Field Value
Mesh
Declaration
Field Value
Submeshes
List of computed submeshes
Declaration
public List<DSubmesh3> Submeshes
Field Value
TriangleSetF
Declaration
public Func<object, IEnumerable<int>> TriangleSetF
Field Value
TriangleSetKeys
Declaration
public IEnumerable<object> TriangleSetKeys
Field Value
Methods
ComputeSubMeshes()
Declaration
protected virtual void ComputeSubMeshes()
GetEnumerator()
Declaration
public IEnumerator<DSubmesh3> GetEnumerator()
Returns
Implements