HShellRegion Class Reference

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

#include <HUtility.h>

Public Member Functions

HShellFace const GetFace (int index) const
 
int GetFaceCount () const
 
 HShellRegion (HShellObject const *pShell, int const iRegionIndex)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ HShellRegion()

HShellRegion::HShellRegion ( HShellObject const *  pShell,
int const  iRegionIndex 
)

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

Parameters
pShellA pointer the the HShellObject that represents a shell.
iRegionIndexThe index number that identifies a specific region.

Member Function Documentation

◆ GetFace()

HShellFace const HShellRegion::GetFace ( int  index) const

This method finds the face associated with the given index.

Parameters
indexThe index associated with the face in the region.
Returns
The HShellFace that encapsulates information about the face associated with the passed index.

◆ GetFaceCount()

int HShellRegion::GetFaceCount ( ) const
Returns
The number of faces in the region.

The documentation for this class was generated from the following file: