DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Expand ModelsModels
Expand DG Kernel ComponentsDG Kernel Components
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Expand General GeometryGeneral Geometry
Collapse ModelModel
Expand ViewView
Expand General ComputingGeneral Computing
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation LinksHome Page > API Reference > Model > Entities > Geometry > BSpline BRep Geometry > IBRepShell_DG Search Documentation


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

A standalone shell can be created via IObjectGenerator_DG.Create("IBRepShell_DG") > IBRepShell_DG query.

See also: BRep Geometry.

Implements also: IBRepShape_DG, IObject_DG.


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()