GEOS
3.3.3
|
A prepared version of Point or MultiPoint geometries. More...
#include <PreparedPoint.h>
Public Member Functions | |
PreparedPoint (const Geometry *geom) | |
bool | intersects (const geom::Geometry *g) |
![]() | |
BasicPreparedGeometry (const Geometry *geom) | |
const geom::Geometry & | getGeometry () const |
const Coordinate::ConstVect * | getRepresentativePoints () const |
bool | isAnyTargetComponentInTest (const geom::Geometry *testGeom) const |
bool | contains (const geom::Geometry *g) const |
bool | containsProperly (const geom::Geometry *g) const |
bool | coveredBy (const geom::Geometry *g) const |
bool | covers (const geom::Geometry *g) const |
bool | crosses (const geom::Geometry *g) const |
bool | disjoint (const geom::Geometry *g) const |
bool | intersects (const geom::Geometry *g) const |
bool | overlaps (const geom::Geometry *g) const |
bool | touches (const geom::Geometry *g) const |
bool | within (const geom::Geometry *g) const |
std::string | toString () |
Additional Inherited Members | |
![]() | |
void | setGeometry (const geom::Geometry *geom) |
bool | envelopesIntersect (const geom::Geometry *g) const |
bool | envelopeCovers (const geom::Geometry *g) const |
A prepared version of Point or MultiPoint geometries.
bool geos::geom::prep::PreparedPoint::intersects | ( | const geom::Geometry * | g | ) |
Tests whether this point intersects a Geometry.
The optimization here is that computing topology for the test geometry is avoided. This can be significant for large geometries.