#include <HUtility.h>
Public Member Functions | |
int | GetFaceCount () const |
int | GetFaceFlistIndex (int index) const |
void | GetFlist (int *flist) const |
int const * | GetFlist () const |
int | GetFlistLen () const |
HC_KEY | GetKey () const |
HShellRegion const | GetRegion (int const index) const |
HShellObject (HShellObject const &oShellObj) | |
HShellObject (HC_KEY kShellKey) |
HShellObject allows you to easily get about a shell's properties like faces and regions.
HShellObject::HShellObject | ( | HC_KEY | kShellKey | ) |
Constructs an HShellObject from a given key.
kshellKey | Pass the key you want to get shell information from. |
int HShellObject::GetFaceCount | ( | ) | const |
int HShellObject::GetFaceFlistIndex | ( | int | index | ) | const |
This method return the index into the face list given a face number.
index | The face number you wish to get information about. |
void HShellObject::GetFlist | ( | int * | flist | ) | const |
An | array of ints (returned to the user) representing the face list. Note that the caller must ensure that the array is of the appropriate size, e.g, via the GetFlistLen function |
int const* HShellObject::GetFlist | ( | ) | const |
int HShellObject::GetFlistLen | ( | ) | const |
HC_KEY HShellObject::GetKey | ( | ) | const |
HShellRegion const HShellObject::GetRegion | ( | int const | index | ) | const |
This method returns an HShellRegion given an index.
index | Pass the index number of the region you want to examine. |