HShellEdge

Functions

HShellEdge

int

GetFirst

int

GetSecond

void

Set

bool

operator

Detailed Description

class HShellEdge

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.

Public Functions

inline HShellEdge(int iFirst = 0, int iSecond = 0)

Constructs an HShellEdge object.

Parameters:
  • iFirst – The index of the first vertex of the edge. Note the first index is always smaller than the second index.

  • iSecond – The index of the second vertex of the edge.

inline int GetFirst() const
Returns:

The first vertex of the edge.

inline int GetSecond() const
Returns:

The second vertex of the edge.

inline void Set(int first, int second)

This method define the new vertices for the edge.

Parameters:
  • first – The index of the first vertex of the edge. Note the first index is always smaller than the second index.

  • second – The index of the second vertex of the edge.

inline bool operator<(HShellEdge const &rhs) const