|
Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
|
Wrapper for Polygon objects, which stores a (custom) bounding box. More...
#include <BoundingBoxWrapper.hpp>
Public Types | |
| using | element_type = T |
| using | geometry_type = std::invoke_result_t< ShapeProjection, T > |
Public Member Functions | |
| BoundingBoxWrapper (const T &element) | |
| Construct a new Bounding Box Polygon object, with default axis-aligned bounding box. | |
| BoundingBoxWrapper (const T &element, const Rectangle< fishnet::math::DEFAULT_NUMERIC > &boundingBox) | |
| Construct a new Bounding Box Polygon object, with custom bounding box rectangle. | |
| const Rectangle< fishnet::math::DEFAULT_NUMERIC > & | getBoundingBox () const noexcept |
| auto | getPolygon () const noexcept |
| const T & | getElement () const noexcept |
Wrapper for Polygon objects, which stores a (custom) bounding box.
| P | polygon type |
| using fishnet::geometry::BoundingBoxWrapper< T, ShapeProjection >::element_type = T |
| using fishnet::geometry::BoundingBoxWrapper< T, ShapeProjection >::geometry_type = std::invoke_result_t<ShapeProjection,T> |
|
inline |
Construct a new Bounding Box Polygon object, with default axis-aligned bounding box.
| element |
|
inline |
Construct a new Bounding Box Polygon object, with custom bounding box rectangle.
| polygon | |
| boundingBox |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |