HShellEdge

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.

Methods

HShellEdge::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.

int HShellEdge::GetFirst() const

const

Returns

The first vertex of the edge.
int HShellEdge::GetSecond() const

const

Returns

The second vertex of the edge.
void HShellEdge::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.

bool HShellEdge::operator<(HShellEdge const &rhs) const

const

Variables

int HShellEdge::m_iFirst

private

int
int HShellEdge::m_iSecond

private

int