Package com.esri.core.geometry
Class OperatorGeodeticDensifyByLength
- java.lang.Object
-
- com.esri.core.geometry.Operator
-
- com.esri.core.geometry.OperatorGeodeticDensifyByLength
-
- Direct Known Subclasses:
OperatorGeodeticDensifyLocal
abstract class OperatorGeodeticDensifyByLength extends Operator
Densifies the line segments by length, making them run along specified geodetic curves. Use this operator to construct geodetic curves.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.esri.core.geometry.Operator
Operator.Type
-
-
Constructor Summary
Constructors Constructor Description OperatorGeodeticDensifyByLength()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract GeometryCursor
execute(GeometryCursor geoms, double maxSegmentLengthMeters, SpatialReference sr, int curveType, ProgressTracker progressTracker)
Densifies input geometries.abstract Geometry
execute(Geometry geom, double maxSegmentLengthMeters, SpatialReference sr, int curveType, ProgressTracker progressTracker)
Same as above, but works with a single geometry.Operator.Type
getType()
static OperatorGeodeticDensifyByLength
local()
-
Methods inherited from class com.esri.core.geometry.Operator
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
-
-
-
-
Method Detail
-
getType
public Operator.Type getType()
-
execute
public abstract GeometryCursor execute(GeometryCursor geoms, double maxSegmentLengthMeters, SpatialReference sr, int curveType, ProgressTracker progressTracker)
Densifies input geometries. Attributes are interpolated along the scalar t-values of the input segments obtained from the length ratios along the densified segments.- Parameters:
geoms
- The geometries to be densified.maxSegmentLengthMeters
- The maximum segment length (in meters) allowed. Must be a positive value.sr
- The SpatialReference of the Geometry.curveType
- The interpretation of a line connecting two points.- Returns:
- Returns the densified geometries (It does nothing to geometries with dim less than 1, but simply passes them along). Note the behavior is not determined for any geodetic curve segments that connect two poles, or for loxodrome segments that connect to any pole.
-
execute
public abstract Geometry execute(Geometry geom, double maxSegmentLengthMeters, SpatialReference sr, int curveType, ProgressTracker progressTracker)
Same as above, but works with a single geometry.
-
local
public static OperatorGeodeticDensifyByLength local()
-
-