HShellFace
Functions
int |
|
int |
|
HShellEdge const |
|
void |
|
void |
Detailed Description
-
class HShellFace
The HShellFace class is a simple wrapper for a shell’s face.
HShellFace allows you to easily get information about a face in a shell.
Public Functions
-
HShellFace(HShellObject const *pShell, int const iFaceIndex)
Construcs an HShellFace object.
- Parameters
pShell – A pointer the HShellObject associated with this face.
iFaceIndex – The index to the face list that describes this face.
-
int GetPointCount() const
- Returns
The number of vertices in the face.
-
int GetEdgeCount() const
- Returns
The number of edges that the face has.
-
HShellEdge const GetEdge(int const iEdgeIndex) const
This method return the information about a given edge in the face.
- Parameters
iEdgeIndex – The index that describes a given edge.
- Returns
The HShellEdge that wrap information about the edge associated with the given index.
-
void OpenEdge(int const iEdgeIndex) const
This method opens an edge in the HOOPS database given an index so that its attributes can be modified.
- Parameters
iEdgeIndex – The index that identifies the edge.
-
HShellFace(HShellObject const *pShell, int const iFaceIndex)