HShellFace

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.

Methods

HShellFace::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 HShellFace::GetPointCount() const

const

Returns

The number of vertices in the face.
int HShellFace::GetEdgeCount() const

const

Returns

The number of edges that the face has.
HShellEdge const HShellFace::GetEdge(int iEdgeIndex) const

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 HShellFace::OpenEdge(int iEdgeIndex) const

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.
void HShellFace::CloseEdge() const

const

This method closes the open edge and end the editing process. Call this method after OpenEdge when you are finished modifying edge attributes.

Variables

HShellObject const *HShellFace::m_pShell

private

int HShellFace::m_iFaceIndex

private

int
int HShellFace::m_iPointCount

private

int