col::compElemByMin Struct Reference

Compare two elemntary boxes by the center point along one axis. More...

Inheritance diagram for col::compElemByMin:

Inheritance graph
[legend]
Collaboration diagram for col::compElemByMin:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 compElemByMin (int coord)
bool operator() (const ElemBox &a, const ElemBox &b)

Public Attributes

int m_coord
 coord of center that will be compared

Detailed Description

Compare two elemntary boxes by the center point along one axis.

Returns:
True iff self.center[coord] < other.center[coord]
This is a binary predicate for the sort() function.

Precondition:
0 <= coord <= 2.


The documentation for this struct was generated from the following file:
Generated on Tue Oct 16 18:12:47 2007 for CollDet by  doxygen 1.5.2