#include <IndexedNestedShellTester.h>
Definition at line 52 of file IndexedNestedShellTester.h.
geos::operation::valid::IndexedNestedShellTester::IndexedNestedShellTester |
( |
const geomgraph::GeometryGraph & |
g, |
|
|
size_t |
initialCapacity |
|
) |
| |
void geos::operation::valid::IndexedNestedShellTester::add |
( |
const geom::Polygon & |
p | ) |
|
|
inline |
This routine checks to see if a shell is properly contained in a hole. It assumes that the edges of the shell and hole do not properly intersect.
- Returns
null
if the shell is properly contained, or a Coordinate which is not inside the hole if it is not
void geos::operation::valid::IndexedNestedShellTester::checkShellNotNested |
( |
const geom::LinearRing * |
shell, |
|
|
PolygonIndexedLocators & |
locs |
|
) |
| |
|
private |
Check if a shell is incorrectly nested within a polygon. This is the case if the shell is inside the polygon shell, but not inside a polygon hole. (If the shell is inside a polygon hole, the nesting is valid.)
The algorithm used relies on the fact that the rings must be properly contained. E.g. they cannot partially overlap (this has been previously checked by checkRelateConsistency
void geos::operation::valid::IndexedNestedShellTester::compute |
( |
| ) |
|
|
private |
const geom::Coordinate* geos::operation::valid::IndexedNestedShellTester::getNestedPoint |
( |
| ) |
|
bool geos::operation::valid::IndexedNestedShellTester::isNonNested |
( |
| ) |
|
const geom::Coordinate* geos::operation::valid::IndexedNestedShellTester::nestedPt |
|
private |
std::vector<const geom::Polygon*> geos::operation::valid::IndexedNestedShellTester::polys |
|
private |
bool geos::operation::valid::IndexedNestedShellTester::processed |
|
private |
The documentation for this class was generated from the following file: