public interface MeasureGeometryOperations
Geometry
s.Modifier and Type | Method and Description |
---|---|
GeometryOperation<Double> |
createGetMeasureOp(Geometry geometry,
Point point)
Creates a
GeometryOperation to calculate the measure value
at the specified point |
GeometryOperation<Double> |
createGetMeasureOp(Geometry geometry,
Point point,
double tolerance)
Creates a
GeometryOperation to calculate the measure value, given that the points fall within
a specified distance from the linestring
at the specified point |
GeometryOperation<Geometry> |
createMeasureOnLengthOp(Geometry geometry,
boolean keepBeginMeasure)
Creates a
GeometryOperation that creates a new Geometry
that has the same 2D/3D-coordinates as the specified Geometry , and
with measure values that correspond with the length along it (or begin-measure + length). |
GeometryOperation<Double> createGetMeasureOp(Geometry geometry, Point point)
GeometryOperation
to calculate the measure value
at the specified pointgeometry
- a measured Geometry
point
- a Point
on the geometryGeometryOperation
that returns the measure value at the specified point on the specified geometryGeometryOperation<Double> createGetMeasureOp(Geometry geometry, Point point, double tolerance)
GeometryOperation
to calculate the measure value, given that the points fall within
a specified distance from the linestring
at the specified pointgeometry
- a measured Geometry
point
- a Point
on the geometrytolerance
- the maximum allowed distance between geometry and pointGeometryOperation
that returns the measure value at the specified point on the specified geometryIllegalArgumentException
- when point is not within tolerance of geometryGeometryOperation<Geometry> createMeasureOnLengthOp(Geometry geometry, boolean keepBeginMeasure)
GeometryOperation
that creates a new Geometry
that has the same 2D/3D-coordinates as the specified Geometry
, and
with measure values that correspond with the length along it (or begin-measure + length).
The length is calculated in the 2-dimensional X/Y-plane.
geometry
- the Geometry
for which to build measureskeepBeginMeasure
- if true, than the measure of the first coordinate is used as start-valueGeometryOperation
that returns a Geometry with measures increasing with lengthCopyright © 2015 geolatte.org. All rights reserved.