GEOS
3.9.1dev
|
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) const override |
![]() | |
BasicPreparedGeometry (const Geometry *geom) | |
~BasicPreparedGeometry () override=default | |
const geom::Geometry & | getGeometry () const override |
Gets the original Geometry which has been prepared. More... | |
const Coordinate::ConstVect * | getRepresentativePoints () const |
bool | isAnyTargetComponentInTest (const geom::Geometry *testGeom) const |
bool | contains (const geom::Geometry *g) const override |
bool | containsProperly (const geom::Geometry *g) const override |
bool | coveredBy (const geom::Geometry *g) const override |
bool | covers (const geom::Geometry *g) const override |
bool | crosses (const geom::Geometry *g) const override |
bool | disjoint (const geom::Geometry *g) const override |
bool | overlaps (const geom::Geometry *g) const override |
bool | touches (const geom::Geometry *g) const override |
bool | within (const geom::Geometry *g) const override |
std::unique_ptr< geom::CoordinateSequence > | nearestPoints (const geom::Geometry *g) const override |
double | distance (const geom::Geometry *g) const override |
std::string | toString () |
![]() | |
virtual | ~PreparedGeometry () |
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.
Definition at line 36 of file PreparedPoint.h.
|
inline |
Definition at line 40 of file PreparedPoint.h.
References intersects().
|
overridevirtual |
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.
Reimplemented from geos::geom::prep::BasicPreparedGeometry.
Referenced by PreparedPoint().