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 | |
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 |
intersects
spatial relationship predicate for a target PreparedLineString relative to all other Geometry classes.
Uses short-circuit tests and indexing to improve performance.
|
|
|
This could be optimized by using the segment index on the lineal target. However, it seems like the L/P case would be pretty rare in practice. |
|
Tests whether this geometry intersects a given geometry.
|
|
Computes the intersects predicate between a PreparedLineString and a Geometry.
|
|
Tests whether any representative point of the test Geometry intersects the target geometry. Only handles test geometries which are Puntal (dimension 0)
|