Main Page
Namespaces
Classes
Files
Related Pages
Class List
Class Hierarchy
Class Members
col
::
compElemByCenter
col::compElemByCenter Struct Reference
Compare two elemntary boxes by the center point along one axis.
More...
Inheritance diagram for col::compElemByCenter:
[
legend
]
Collaboration diagram for col::compElemByCenter:
[
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:
ColBoxtree.cpp
Generated on Tue Oct 16 18:12:46 2007 for CollDet by
1.5.2