DOLFIN
DOLFIN C++ interface
Public Member Functions | Public Attributes | List of all members
dolfin::BoundingBoxTree3D::less_x_bbox Struct Reference

Comparison operators for sorting of bounding boxes. More...

#include <BoundingBoxTree3D.h>

Public Member Functions

 less_x_bbox (const std::vector< double > &bboxes)
 Constructor.
 
bool operator() (unsigned int i, unsigned int j)
 Comparison operator.
 

Public Attributes

const std::vector< double > & bboxes
 Bounding boxes.
 

Detailed Description

Comparison operators for sorting of bounding boxes.

Boxes are sorted by their midpoints along the longest axis. Less than operator in x-direction


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