GEOS
3.3.3
|
#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[]. |
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. |
Determines the location of a subline along a linear Geometry. The location is reported as a pair of LinearLocations.
Note: Currently this algorithm is not guaranteed to return the correct substring in some situations where an endpoint of the test line occurs more than once in the input line. (However, the common case of a ring is always handled correctly).
|
static |
Determines the location of a subline along a linear Geometry.
The location is reported as a pair of LinearLocations.
Note: Currently this algorithm is not guaranteed to return the correct substring in some situations where an endpoint of the test line occurs more than once in the input line. (However, the common case of a ring is always handled correctly).
Caller must take of releasing with delete[]