|
Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
|
Implementation of a Multi-Polygon. More...
#include <MultiPolygon.hpp>
Public Types | |
| using | numeric_type = typename P::numeric_type |
| using | polygon_type = P |
Public Member Functions | |
| MultiPolygon (util::input_range_of< P > auto &&polygonsRange, bool checked=false) | |
| Construct a new Multi Polygon object. | |
| MultiPolygon (const P &polygon) | |
| MultiPolygon (const P &polygon, const P &otherPolygon) | |
| template<typename... Args> | |
| MultiPolygon (const P ¤t, const P &next, Args... remaining) | |
| VarArg constructor of a new Multi Polygon object. | |
| constexpr util::view_of< P > auto | getPolygons () const noexcept |
| template<bool checked = false> | |
| constexpr bool | addPolygon (const P &polygon) noexcept |
| Add Polygon to the multi-polygon. | |
| constexpr bool | removePolygon (const P &polygon) noexcept |
| constexpr fishnet::math::DEFAULT_FLOATING_POINT | area () const noexcept |
| constexpr Vec2DReal | centroid () const noexcept |
| Computes centroid point of multi-polygon, by weighting the centroid point of each polygon with its area. | |
| constexpr bool | contains (IPoint auto const &point) const noexcept |
| constexpr bool | contains (ISegment auto const &segment) const noexcept |
| constexpr bool | isInside (IPoint auto const &point) const noexcept |
| constexpr bool | isOnBoundary (IPoint auto const &point) const noexcept |
| constexpr bool | isOutside (IPoint auto const &point) const noexcept |
| constexpr bool | intersects (LinearGeometry auto const &linearFeature) const noexcept |
| constexpr std::unordered_set< Vec2DReal > | intersections (LinearGeometry auto const &linearGeometry) const noexcept |
| constexpr bool | contains (IPolygon auto const &query) const noexcept |
| constexpr bool | crosses (IPolygon auto const &query) const noexcept |
| constexpr bool | touches (IPolygon auto const &query) const noexcept |
| constexpr bool | containsInHole (IPolygon auto const &query) const noexcept |
| constexpr fishnet::math::DEFAULT_FLOATING_POINT | distance (IPolygon auto const &query) const noexcept |
| constexpr fishnet::math::DEFAULT_FLOATING_POINT | distance (IMultiPolygon auto const &other) const noexcept |
| constexpr Rectangle< numeric_type > | aaBB () const noexcept |
| template<IPolygon Q> | |
| constexpr bool | operator== (const MultiPolygon< Q > &other) const noexcept |
| constexpr size_t | hash () const noexcept |
| constexpr std::string | toString () const noexcept |
Static Public Attributes | |
| static constexpr GeometryType | type = GeometryType::MULTIPOLYGON |
Implementation of a Multi-Polygon.
| P | polygon type stored within the multi-polygon |
| using fishnet::geometry::MultiPolygon< P >::numeric_type = typename P::numeric_type |
| using fishnet::geometry::MultiPolygon< P >::polygon_type = P |
|
inline |
Construct a new Multi Polygon object.
| polygonsRange | |
| checked | if true, no checks are applied, potentially speeding up the construction |
|
inline |
|
inline |
|
inline |
VarArg constructor of a new Multi Polygon object.
| Args |
| current | |
| next | |
| remaining |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
Add Polygon to the multi-polygon.
| checked | if true, all checks are skipped, speeding up the method |
| polygon |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
Computes centroid point of multi-polygon, by weighting the centroid point of each polygon with its area.
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
staticconstexpr |