HShellRegion

Functions

HShellRegion

~HShellRegion

int

GetFaceCount

HShellFace const

GetFace

Detailed Description

class HShellRegion

The HShellRegion class is a simple wrapper for a shell’s region.

HShellRegion allows you to easily get information about the regions in a shell.

Public Functions

HShellRegion(HShellObject const *pShell, int const iRegionIndex)

Constructs an HShellRegion given a pointer to HShellObject and region index.

Parameters
  • pShell – A pointer the the HShellObject that represents a shell.

  • iRegionIndex – The index number that identifies a specific region.

inline ~HShellRegion()
int GetFaceCount() const
Returns

The number of faces in the region.

HShellFace const GetFace(int index) const

This method finds the face associated with the given index.

Parameters

index – The index associated with the face in the region.

Returns

The HShellFace that encapsulates information about the face associated with the passed index.