GEOS 3.11.1
Public Member Functions | List of all members
geos::geom::prep::PreparedPolygon Class Reference

A prepared version of Polygon or MultiPolygon geometries. More...

#include <PreparedPolygon.h>

Inheritance diagram for geos::geom::prep::PreparedPolygon:
geos::geom::prep::BasicPreparedGeometry geos::geom::prep::PreparedGeometry

Public Member Functions

 PreparedPolygon (const geom::Geometry *geom)
 
noding::FastSegmentSetIntersectionFindergetIntersectionFinder () const
 
algorithm::locate::PointOnGeometryLocatorgetPointLocator () const
 
operation::distance::IndexedFacetDistancegetIndexedFacetDistance () const
 
bool contains (const geom::Geometry *g) const override
 
bool containsProperly (const geom::Geometry *g) const override
 
bool covers (const geom::Geometry *g) const override
 
bool intersects (const geom::Geometry *g) const override
 
double distance (const geom::Geometry *g) const override
 
- Public Member Functions inherited from geos::geom::prep::BasicPreparedGeometry
 BasicPreparedGeometry (const Geometry *geom)
 
const geom::GeometrygetGeometry () const override
 Gets the original Geometry which has been prepared. More...
 
const Coordinate::ConstVectgetRepresentativePoints () 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 intersects (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::CoordinateSequencenearestPoints (const geom::Geometry *g) const override
 
double distance (const geom::Geometry *g) const override
 
bool isWithinDistance (const geom::Geometry *geom, double dist) const override
 
std::string toString ()
 
virtual const geom::GeometrygetGeometry () const =0
 Gets the original Geometry which has been prepared. More...
 
virtual bool contains (const geom::Geometry *geom) const =0
 Tests whether the base Geometry contains a given geometry. More...
 
virtual bool containsProperly (const geom::Geometry *geom) const =0
 Tests whether the base Geometry properly contains a given geometry. More...
 
virtual bool coveredBy (const geom::Geometry *geom) const =0
 Tests whether the base Geometry is covered by a given geometry. More...
 
virtual bool covers (const geom::Geometry *geom) const =0
 Tests whether the base Geometry covers a given geometry. More...
 
virtual bool crosses (const geom::Geometry *geom) const =0
 Tests whether the base Geometry crosses a given geometry. More...
 
virtual bool disjoint (const geom::Geometry *geom) const =0
 Tests whether the base Geometry is disjoint from a given geometry. More...
 
virtual bool intersects (const geom::Geometry *geom) const =0
 Tests whether the base Geometry intersects a given geometry. More...
 
virtual bool overlaps (const geom::Geometry *geom) const =0
 Tests whether the base Geometry overlaps a given geometry. More...
 
virtual bool touches (const geom::Geometry *geom) const =0
 Tests whether the base Geometry touches a given geometry. More...
 
virtual bool within (const geom::Geometry *geom) const =0
 Tests whether the base Geometry is within a given geometry. More...
 
virtual std::unique_ptr< geom::CoordinateSequencenearestPoints (const geom::Geometry *geom) const =0
 Compute the nearest locations on the base Geometry and the given geometry. More...
 
virtual double distance (const geom::Geometry *geom) const =0
 Compute the minimum distance between the base Geometry and the given geometry. More...
 
virtual bool isWithinDistance (const geom::Geometry *geom, double dist) const =0
 Tests whether the base Geometry is within a given distance from the given geometry. More...
 

Additional Inherited Members

- Protected Member Functions inherited from geos::geom::prep::BasicPreparedGeometry
void setGeometry (const geom::Geometry *geom)
 
bool envelopesIntersect (const geom::Geometry *g) const
 
bool envelopeCovers (const geom::Geometry *g) const
 

Detailed Description

A prepared version of Polygon or MultiPolygon geometries.

Author
mbdavis

Member Function Documentation

◆ contains()

bool geos::geom::prep::PreparedPolygon::contains ( const geom::Geometry g) const
overridevirtual

Default implementation.

Reimplemented from geos::geom::prep::BasicPreparedGeometry.

◆ containsProperly()

bool geos::geom::prep::PreparedPolygon::containsProperly ( const geom::Geometry g) const
overridevirtual

Default implementation.

Reimplemented from geos::geom::prep::BasicPreparedGeometry.

◆ covers()

bool geos::geom::prep::PreparedPolygon::covers ( const geom::Geometry g) const
overridevirtual

Default implementation.

Reimplemented from geos::geom::prep::BasicPreparedGeometry.

◆ distance()

double geos::geom::prep::PreparedPolygon::distance ( const geom::Geometry g) const
overridevirtual

Default implementation.

Reimplemented from geos::geom::prep::BasicPreparedGeometry.

◆ intersects()

bool geos::geom::prep::PreparedPolygon::intersects ( const geom::Geometry g) const
overridevirtual

Default implementation.

Reimplemented from geos::geom::prep::BasicPreparedGeometry.


The documentation for this class was generated from the following file: