- Main Page
- Namespaces
- Classes
- Files
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# col::compElemByMin Struct Reference

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

Inheritance diagram for col::compElemByMin:

[legend]
Collaboration diagram for col::compElemByMin:

[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:

- ColBoxtree.cpp