Box Module

Module Contents

template<typename point_type>
class Box : public boost::geometry::model::box<point_type>

Axis-aligned bounding box

This class is a thin wrapper around boost::geometry::model::box that holds two points representing opposite corners.

Warning

Don’t instantiate this class directly. Instead, use "tracktable::domain::<name>::box_type" so that you get the correct distance functions.

Public Types

typedef boost::geometry::model::box<point_type> Superclass

Public Functions

inline Box(point_type const &low_corner, point_type const &high_corner)

Construct the bounding box using boost::geometry::model::box

Parameters:
  • low_corner[in] Minimum corner to use for creation of the box

  • high_corner[in] Maximum corner to use for creation of the box

inline ~Box()

Destructor.