Computes the intersects
spatial relationship predicate for a target PreparedLineString relative to all other Geometry classes.
More...
#include <PreparedLineStringIntersects.h>
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.
- Author
- Martin Davis
Definition at line 44 of file PreparedLineStringIntersects.h.
geos::geom::prep::PreparedLineStringIntersects::PreparedLineStringIntersects |
( |
PreparedLineString & |
prep | ) |
|
|
inline |
bool geos::geom::prep::PreparedLineStringIntersects::intersects |
( |
const geom::Geometry * |
g | ) |
const |
Tests whether this geometry intersects a given geometry.
- Parameters
-
- Returns
- true if the test geometry intersects
bool geos::geom::prep::PreparedLineStringIntersects::isAnyTestPointInTarget |
( |
const geom::Geometry * |
testGeom | ) |
const |
|
protected |
Tests whether any representative point of the test Geometry intersects the target geometry. Only handles test geometries which are Puntal (dimension 0)
- Parameters
-
testGeom | a Puntal geometry to test |
- Returns
- true if any point of the argument intersects the prepared geometry
The documentation for this class was generated from the following file: