HShellFace

Functions

HShellFace

int

GetPointCount

int

GetEdgeCount

HShellEdge const

GetEdge

void

OpenEdge

void

CloseEdge

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.

void CloseEdge() const

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