GEOS
3.9.1dev
|
#include <OverlayMixedPoints.h>
Public Member Functions | |
OverlayMixedPoints (int p_opCode, const Geometry *geom0, const Geometry *geom1, const PrecisionModel *p_pm) | |
std::unique_ptr< Geometry > | getResult () |
Static Public Member Functions | |
static std::unique_ptr< Geometry > | overlay (int opCode, const Geometry *geom0, const Geometry *geom1, const PrecisionModel *pm) |
Private Member Functions | |
std::unique_ptr< PointOnGeometryLocator > | createLocator (const Geometry *geomNonPoint) |
std::unique_ptr< Geometry > | prepareNonPoint (const Geometry *geomInput) |
std::unique_ptr< Geometry > | computeIntersection (const CoordinateArraySequence *coords) const |
std::unique_ptr< Geometry > | computeUnion (const CoordinateArraySequence *coords) |
std::unique_ptr< Geometry > | computeDifference (const CoordinateArraySequence *coords) |
std::unique_ptr< Geometry > | createPointResult (std::vector< std::unique_ptr< Point >> &points) const |
std::vector< std::unique_ptr< Point > > | findPoints (bool isCovered, const CoordinateArraySequence *coords) const |
std::vector< std::unique_ptr< Point > > | createPoints (std::set< Coordinate > &coords) const |
bool | hasLocation (bool isCovered, const Coordinate &coord) const |
std::unique_ptr< Geometry > | copyNonPoint () const |
std::unique_ptr< CoordinateArraySequence > | extractCoordinates (const Geometry *points, const PrecisionModel *pm) const |
std::vector< std::unique_ptr< Polygon > > | extractPolygons (const Geometry *geom) const |
std::vector< std::unique_ptr< LineString > > | extractLines (const Geometry *geom) const |
Private Attributes | |
int | opCode |
const PrecisionModel * | pm |
const Geometry * | geomPoint |
const Geometry * | geomNonPointInput |
const GeometryFactory * | geometryFactory |
bool | isPointRHS |
std::unique_ptr< Geometry > | geomNonPoint |
int | geomNonPointDim |
std::unique_ptr< PointOnGeometryLocator > | locator |
int | resultDim |
Computes an overlay where one input is Point(s) and one is not. This class supports overlay being used as an efficient way to find points within or outside a polygon.
Input semantics are:
Output semantics are:
For efficiency the following optimizations are used:
Definition at line 79 of file OverlayMixedPoints.h.
geos::operation::overlayng::OverlayMixedPoints::OverlayMixedPoints | ( | int | p_opCode, |
const Geometry * | geom0, | ||
const Geometry * | geom1, | ||
const PrecisionModel * | p_pm | ||
) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
std::unique_ptr<Geometry> geos::operation::overlayng::OverlayMixedPoints::getResult | ( | ) |
|
private |
|
static |
|
private |
|
private |
Definition at line 88 of file OverlayMixedPoints.h.
|
private |
Definition at line 91 of file OverlayMixedPoints.h.
|
private |
Definition at line 92 of file OverlayMixedPoints.h.
|
private |
Definition at line 87 of file OverlayMixedPoints.h.
|
private |
Definition at line 86 of file OverlayMixedPoints.h.
|
private |
Definition at line 89 of file OverlayMixedPoints.h.
|
private |
Definition at line 93 of file OverlayMixedPoints.h.
|
private |
Definition at line 84 of file OverlayMixedPoints.h.
|
private |
Definition at line 85 of file OverlayMixedPoints.h.
|
private |
Definition at line 94 of file OverlayMixedPoints.h.