AURobotServers  4
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
UGridSegEq Class Reference

Public Member Functions

void add (int c)
 add this serial number to list if not there already More...
 
void addList (int *ee, int eeCnt)
 add this list of numbers More...
 
void clear ()
 clear list of equvivalent serial numbers More...
 
bool isInList (int c)
 test if this number is in list More...
 
bool match (UGridSegEq *s2)
 match if any number in these lists are equal More...
 
 UGridSegEq ()
 

Public Attributes

int cs [MaxEqC]
 cluster equvivalent list More...
 
int csCnt
 number of found equvivallences More...
 

Static Public Attributes

static const int MaxEqC = 80
 maximum number of merged clusters More...
 

Constructor & Destructor Documentation

UGridSegEq::UGridSegEq ( )
inline

References csCnt.

Referenced by UGridSegs::addEquvivalent().

Member Function Documentation

void UGridSegEq::add ( int  c)
inline

add this serial number to list if not there already

References isInList().

Referenced by addList().

void UGridSegEq::addList ( int *  ee,
int  eeCnt 
)
inline

add this list of numbers

References add().

Referenced by UGridSegs::addEquvivalent(), and UGridSegs::simplifyList().

void UGridSegEq::clear ( void  )
inline

clear list of equvivalent serial numbers

Referenced by UGrid3D::setVolumen().

bool UGridSegEq::isInList ( int  c)
inline

test if this number is in list

References csCnt.

Referenced by add(), UGridSegs::addEquvivalent(), UGridSegs::getAndCountNumber(), and match().

bool UGridSegEq::match ( UGridSegEq s2)
inline

match if any number in these lists are equal

References csCnt, and isInList().

Referenced by UGridSegs::simplifyList().

Member Data Documentation

int UGridSegEq::cs[MaxEqC]
int UGridSegEq::csCnt
const int UGridSegEq::MaxEqC = 80
static

maximum number of merged clusters


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