IBRepShell_DG Interface
- CreateVertex
- CreateEdge
- GetFaceCount
- GetFace
- AddFace
- AddNewFace
- RemoveFace
- GetFaces
- IsFaceReversed
- SwapExternalSide
- GetEdges
- GetVertices
IBRepShell_DG can be obtained via methods of IBRepSolid_DG or queried from IBRepShape_DG when the shape is actually a shell
See also: BSpline BRep Geometry.
IBRepVertex_DG CreateVertex(double x, double y, double z)
Returns a new vertex to be used in construction of the shell. Listed internally as a sub-shape of the shell.
IBRepEdge_DG CreateEdge(IBRepVertex_DG* vertex0, IBRepVertex_DG* vertex1)
Returns a new edge to be used in construction of the shell.
int GetFaceCount()
IBRepFace_DG GetFace(int index)
void AddFace(IBRepFace_DG face)
IBRepFace_DG AddNewFace()
void RemoveFace(IBRepFace_DG face)
IShapeArray_DG GetFaces()
bool IsFaceReversed(int indexFace)
Can return true only for shells which are part of a composite solid and the face is shared by two shells.
If the face is reversed, order of its edges and vertices in the first wire is clock wise when looking from outside of the shell
void SwapExternalSide()
Swaps orientation of the surface by calling SwapExternalSide() for each face.
IShapeArray_DG GetEdges()
IShapeArray_DG GetVertices()
|