| CFx SDK Documentation 2024 SP0
    | 
#include <GeShell.h>
| Public Member Functions | |
| OdGeShell () | |
| void | addVertex (const OdGePoint3d &vertex) | 
| void | endFace () | 
| void | startFace (bool bHole=false) | 
| void | addFaceVertex (int nVertexIndex) | 
| void | draw (OdGiGeometry &geometry) | 
| Protected Attributes | |
| int | m_nFaceStartIndex | 
This class represents shell primitives.
Corresponding C++ library: TD_Ge
<group OdGe_Classes>
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
Ends face assembling. Writes the number of face vertices that have been added by the addFaceVertex() method.
Starts face assembling. Sets the face index at the start position of a new face to be added and reserves place for the number of face vertices adding -1 or 1 values: -1 if a hole face is expected and 1 for a regular face.
| bHole | [in] Indicates if a hole or regular face is expected. It's false by default. | 
| OdUInt16Array OdGeShell::edgeColors | 
| OdDbStubPtrArray OdGeShell::edgeLayers | 
| OdDbStubPtrArray OdGeShell::edgeLinetypes | 
| OdGsMarkerArray OdGeShell::edgeSelectionMarkers | 
| OdCmEntityColorArray OdGeShell::edgeTrueColors | 
| OdUInt8Array OdGeShell::edgeVisibilities | 
| OdUInt16Array OdGeShell::faceColors | 
| OdDbStubPtrArray OdGeShell::faceLayers | 
| OdArray<OdGiMapper> OdGeShell::faceMappers | 
| OdDbStubPtrArray OdGeShell::faceMaterials | 
| OdGeVector3dArray OdGeShell::faceNormals | 
| OdInt32Array OdGeShell::faces | 
An array of integer number that defines a list of shell faces. In a face list a particular face is defined be a set of number. The first number contains the number of vertices of the face and its sign indicates if the face is a hole or a regular face: if the face is a hole then its vertices number must be negative. A hole face must be coplanar and entirely in another face (not touching edges). For example, the face array {3,0,2,4,-3,1,0,5} represents two faces. The first is a regular face that consists of three vertices: vertex 0, vertex 2, and vertex 4. The second is the hole face having three vertices: vertex 1, vertex 0, and vertex 5.
| OdGsMarkerArray OdGeShell::faceSelectionMarkers | 
| OdCmTransparencyArray OdGeShell::faceTransparencies | 
| OdCmEntityColorArray OdGeShell::faceTrueColors | 
| OdUInt8Array OdGeShell::faceVisibilities | 
| OdGePoint3dArray OdGeShell::textureCoords | 
| OdGeVector3dArray OdGeShell::vertexNormals | 
| OdGePoint3dArray OdGeShell::vertices |