GEOS 3.13.1
|
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)=delete | |
PreparedLineStringIntersects & | operator= (const PreparedLineStringIntersects &rhs)=delete |
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 |
Referenced by intersects(), and isAnyTestPointInTarget().
bool geos::geom::prep::PreparedLineStringIntersects::intersects | ( | const geom::Geometry * | g | ) | const |
Tests whether this geometry intersects a given geometry.
g | the test geometry |
|
inlinestatic |
Computes the intersects predicate between a PreparedLineString
and a Geometry
.
prep | the prepared linestring |
geom | a test geometry |
References intersects(), and PreparedLineStringIntersects().
Referenced by intersects().
|
protected |
Tests whether any representative point of the test Geometry intersects the target geometry. Only handles test geometries which are Puntal (dimension 0)
testGeom | a Puntal geometry to test |
References PreparedLineStringIntersects().