template<typename TCoordinates >
Compute the bounding box around the given points.
Caller has ownership of the returned pointer.
- Parameters
-
points | The points that the computed bounding box will surround. |
- Returns
- A pointer to a bounding box around the given points.
template<typename TCoordinates >
Compute the smallest bounding box that contains the given bounding boxes.
This can also be thought of as the one large bounding box around the union of points contained in the several smaller bounding boxes passed to this function. Caller had ownership of the returned pointer.
- Parameters
-
bboxes | the bounding boxes that the computed bounding box will surround. |
- Returns
- A pointer to a bounding box around the given bounding boxes.
template<typename TCoordinates >
Parses the bounding box defined by the given geometry shape, represented in BSON.
Caller had ownership of the returned pointer.
- Parameters
-
bson | The BSON for the geometry shape. |
- Returns
- If the shape defines its own bounding box with the "bbox" field, returns a pointer to an instantiated bounding box around the shape. Otherwise returns NULL.
The documentation for this class was generated from the following file: