GEOS  3.9.1dev
Public Member Functions | Private Attributes | List of all members
geos::geom::prep::PreparedLineString Class Reference

A prepared version of LinearRing, LineString or MultiLineString geometries. More...

#include <PreparedLineString.h>

Inheritance diagram for geos::geom::prep::PreparedLineString:
[legend]
Collaboration diagram for geos::geom::prep::PreparedLineString:
[legend]

Public Member Functions

 PreparedLineString (const Geometry *geom)
 
 ~PreparedLineString () override
 
noding::FastSegmentSetIntersectionFindergetIntersectionFinder ()
 
bool intersects (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
 
operation::distance::IndexedFacetDistancegetIndexedFacetDistance () const
 
- Public Member Functions inherited from geos::geom::prep::BasicPreparedGeometry
 BasicPreparedGeometry (const Geometry *geom)
 
 ~BasicPreparedGeometry () override=default
 
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 overlaps (const geom::Geometry *g) const override
 
bool touches (const geom::Geometry *g) const override
 
bool within (const geom::Geometry *g) const override
 
std::string toString ()
 
- Public Member Functions inherited from geos::geom::prep::PreparedGeometry
virtual ~PreparedGeometry ()
 

Private Attributes

std::unique_ptr< noding::FastSegmentSetIntersectionFindersegIntFinder
 
noding::SegmentString::ConstVect segStrings
 
std::unique_ptr< operation::distance::IndexedFacetDistanceindexedDistance
 

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 LinearRing, LineString or MultiLineString geometries.

Author
mbdavis

Definition at line 42 of file PreparedLineString.h.

Constructor & Destructor Documentation

geos::geom::prep::PreparedLineString::PreparedLineString ( const Geometry geom)
inline

Definition at line 50 of file PreparedLineString.h.

References distance(), getIndexedFacetDistance(), getIntersectionFinder(), intersects(), nearestPoints(), and ~PreparedLineString().

Here is the call graph for this function:

geos::geom::prep::PreparedLineString::~PreparedLineString ( )
override

Referenced by PreparedLineString().

Here is the caller graph for this function:

Member Function Documentation

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

Default implementation.

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

Referenced by PreparedLineString().

Here is the caller graph for this function:

operation::distance::IndexedFacetDistance* geos::geom::prep::PreparedLineString::getIndexedFacetDistance ( ) const

Referenced by PreparedLineString().

Here is the caller graph for this function:

noding::FastSegmentSetIntersectionFinder* geos::geom::prep::PreparedLineString::getIntersectionFinder ( )

Referenced by PreparedLineString().

Here is the caller graph for this function:

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

Default implementation.

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

Referenced by PreparedLineString().

Here is the caller graph for this function:

std::unique_ptr<geom::CoordinateSequence> geos::geom::prep::PreparedLineString::nearestPoints ( const geom::Geometry g) const
overridevirtual

Default implementation.

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

Referenced by PreparedLineString().

Here is the caller graph for this function:

Member Data Documentation

std::unique_ptr<operation::distance::IndexedFacetDistance> geos::geom::prep::PreparedLineString::indexedDistance
mutableprivate

Definition at line 46 of file PreparedLineString.h.

std::unique_ptr<noding::FastSegmentSetIntersectionFinder> geos::geom::prep::PreparedLineString::segIntFinder
private

Definition at line 44 of file PreparedLineString.h.

noding::SegmentString::ConstVect geos::geom::prep::PreparedLineString::segStrings
mutableprivate

Definition at line 45 of file PreparedLineString.h.


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