|
GEOS
3.10.1
|
#include <PolygonHoleJoiner.h>
Public Member Functions | |
| PolygonHoleJoiner (const Polygon *p_inputPolygon) | |
| std::vector< Coordinate > | compute () |
Static Public Member Functions | |
| static std::vector< Coordinate > | join (const Polygon *inputPolygon) |
| static std::unique_ptr< Polygon > | joinAsPolygon (const Polygon *inputPolygon) |
Transforms a polygon with holes into a single self-touching ring by connecting holes to the exterior shell or to another hole. The holes are added from the lowest upwards. As the resulting shell develops, a hole might be added to what was originally another hole.
| std::vector<Coordinate> geos::triangulate::polygon::PolygonHoleJoiner::compute | ( | ) |
Computes the joined ring.