Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
Loading...
Searching...
No Matches
fishnet::geometry::IMultiPolygon Concept Reference

Interface for a multi-polygon A multi-polygon is a collection of polygons. More...

#include <IMultiPolygon.hpp>

Concept definition

template<typename M>
const std::remove_cvref_t<M> & multiPolygon,
std::remove_cvref_t<M> & mutableMultiPolygon,
const typename std::remove_cvref_t<M>::polygon_type & ownPolygon,
const __impl::PolygonStub<typename std::remove_cvref_t<M>::numeric_type> & polygon,
const __impl::PointStub<typename std::remove_cvref_t<M>::numeric_type> & point,
const __impl::SegmentStub<typename std::remove_cvref_t<M>::numeric_type> & segment,
const __impl::LineStub<typename std::remove_cvref_t<M>::numeric_type> & line
){
typename std::remove_cvref_t<M>::polygon_type;
{multiPolygon.getPolygons()} -> PolygonRange;
{mutableMultiPolygon.addPolygon(ownPolygon)} -> std::same_as<bool>;
{mutableMultiPolygon.removePolygon(ownPolygon)} -> std::same_as<bool>;
{multiPolygon.area()} -> std::convertible_to<double>;
{multiPolygon.centroid()} -> IPoint;
{multiPolygon.aaBB()} -> IEnvelope;
{multiPolygon.isInside(point)} -> std::same_as<bool>;
{multiPolygon.isOnBoundary(point)} -> std::same_as<bool>;
{multiPolygon.isOutside(point)} -> std::same_as<bool>;
{multiPolygon.containsInHole(polygon)} -> std::same_as<bool>;
{multiPolygon.contains(point)} -> std::same_as<bool>;
{multiPolygon.contains(segment)} -> std::same_as<bool>;
{multiPolygon.contains(polygon)} -> std::same_as<bool>;
{multiPolygon.intersects(segment)} -> std::same_as<bool>;
{multiPolygon.intersects(line)} -> std::same_as<bool>;
{multiPolygon.intersections(segment)} -> PointRange;
{multiPolygon.intersections(line)} -> PointRange;
{multiPolygon.crosses(polygon)} -> std::same_as<bool>;
{multiPolygon.touches(polygon)} -> std::same_as<bool>;
{multiPolygon.distance(polygon)} -> std::convertible_to<double>;
}
Definition GeometryBase.hpp:11
Interface for a multi-polygon A multi-polygon is a collection of polygons.
Definition IMultiPolygon.hpp:93
Definition IPolygon.hpp:134

Detailed Description

Interface for a multi-polygon A multi-polygon is a collection of polygons.

Template Parameters
MMultiPolygon implementation type