col::compElemByCenter Struct Reference

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

Inheritance diagram for col::compElemByCenter:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 compElemByCenter (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:46 2007 for CollDet by  doxygen 1.5.2