GEOS
3.9.1dev
|
Determines the location of a subline along a linear Geometry. More...
#include <LocationIndexOfLine.h>
Public Member Functions | |
LocationIndexOfLine (const geom::Geometry *linearGeom) | |
LinearLocation * | indicesOf (const geom::Geometry *subLine) const |
Caller must take of releasing with delete[]. More... | |
Static Public Member Functions | |
static LinearLocation * | indicesOf (const geom::Geometry *linearGeom, const geom::Geometry *subLine) |
Determines the location of a subline along a linear Geometry. More... | |
Private Attributes | |
const geom::Geometry * | linearGeom |
Determines the location of a subline along a linear Geometry.
The location is reported as a pair of LinearLocations.
Definition at line 40 of file LocationIndexOfLine.h.
geos::linearref::LocationIndexOfLine::LocationIndexOfLine | ( | const geom::Geometry * | linearGeom | ) |
|
static |
Determines the location of a subline along a linear Geometry.
The location is reported as a pair of LinearLocations.
Referenced by geos::linearref::LocationIndexedLine::indicesOf().
LinearLocation* geos::linearref::LocationIndexOfLine::indicesOf | ( | const geom::Geometry * | subLine | ) | const |
Caller must take of releasing with delete[].
|
private |
MD - this algorithm has been extracted into a class because it is intended to validate that the subline truly is a subline, and also to use the internal vertex information to unambiguously locate the subline.
Definition at line 47 of file LocationIndexOfLine.h.