Class MeshExtrudeFaces
Extrude a subset of faces of Mesh. Steps are:
1) separate subset from neighbouring triangles
2) offset them
3) connect original and offset edges (now boundary edges) with a triangle strip
Caveats:
- not sure it works for multiple regions?
- boundary vertices are currently attached to offset region, rather than also duplicated
and then connected w/ strip
[TODO] implement this behavior
Inheritance
MeshExtrudeFaces
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public class MeshExtrudeFaces
Constructors
MeshExtrudeFaces(DMesh3, IEnumerable<Int32>)
Declaration
public MeshExtrudeFaces(DMesh3 mesh, IEnumerable<int> triangles)
Parameters
MeshExtrudeFaces(DMesh3, Int32[], Boolean)
Declaration
public MeshExtrudeFaces(DMesh3 mesh, int[] triangles, bool bForceCopyArray = false)
Parameters
Fields
EdgePairs
Declaration
public List<Index2i> EdgePairs
Field Value
ExtrudedPositionF
Declaration
public Func<Vector3d, Vector3f, int, Vector3d> ExtrudedPositionF
Field Value
ExtrudeVertices
Declaration
public MeshVertexSelection ExtrudeVertices
Field Value
Group
Declaration
public SetGroupBehavior Group
Field Value
JoinGroupID
Declaration
Field Value
JoinIncomplete
Declaration
public bool JoinIncomplete
Field Value
JoinTriangles
Declaration
public int[] JoinTriangles
Field Value
Mesh
Declaration
Field Value
Triangles
Declaration
Field Value
Methods
Extrude()
Apply the extrustion operation to input Mesh.
Will return false if operation is not completed.
However changes are not backed out, so if false is returned, input Mesh is in
undefined state (generally means there are some holes)
Declaration
public virtual bool Extrude()
Returns
Validate()
Declaration
public virtual ValidationStatus Validate()
Returns