GEOS
3.4.2
|
Computes the intersects
spatial relationship predicate for a target PreparedLineString relative to all other Geometry classes.
More...
#include <PreparedLineStringIntersects.h>
Public Member Functions | |
PreparedLineStringIntersects (PreparedLineString &prep) | |
bool | intersects (const geom::Geometry *g) const |
Static Public Member Functions | |
static bool | intersects (PreparedLineString &prep, const geom::Geometry *geom) |
Protected Member Functions | |
bool | isAnyTestPointInTarget (const geom::Geometry *testGeom) const |
PreparedLineStringIntersects (const PreparedLineStringIntersects &other) | |
PreparedLineStringIntersects & | operator= (const PreparedLineStringIntersects &rhs) |
Protected Attributes | |
PreparedLineString & | prepLine |
Computes the intersects
spatial relationship predicate for a target PreparedLineString relative to all other Geometry classes.
Uses short-circuit tests and indexing to improve performance.
|
inline |
|
inlinestatic |
Computes the intersects predicate between a PreparedLineString and a Geometry.
prep | the prepared linestring |
geom | a test geometry |
References intersects().
Referenced by intersects().
bool geos::geom::prep::PreparedLineStringIntersects::intersects | ( | const geom::Geometry * | g | ) | const |
Tests whether this geometry intersects a given geometry.
geom | the test geometry |
|
protected |