Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HShellEdge Class Reference

The HShellEdge class is a simple wrapper for a shell's edge. More...

#include <HUtility.h>

List of all members.

Public Member Functions

int GetFirst () const
int GetSecond () const
 HShellEdge (int iFirst=0, int iSecond=0)
bool operator< (HShellEdge const &rhs) const
void Set (int first, int second)

Detailed Description

The HShellEdge class is a simple wrapper for a shell's edge.

HShellEdge allows you to easily get information about an edge in a shell.


Constructor & Destructor Documentation

HShellEdge::HShellEdge ( int  iFirst = 0,
int  iSecond = 0 
) [inline]

Constructs an HShellEdge object.

Parameters:
iFirstThe index of the first vertex of the edge. Note the first index is always smaller than the second index.
iSecondThe index of the second vertex of the edge.

Member Function Documentation

int HShellEdge::GetFirst ( ) const [inline]
Returns:
The first vertex of the edge.
int HShellEdge::GetSecond ( ) const [inline]
Returns:
The second vertex of the edge.
void HShellEdge::Set ( int  first,
int  second 
) [inline]

This method define the new vertices for the edge.

Parameters:
firstThe index of the first vertex of the edge. Note the first index is always smaller than the second index.
secondThe index of the second vertex of the edge.

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