Package com.esri.core.geometry
Class OperatorGeodeticDensifyByLength
java.lang.Object
com.esri.core.geometry.Operator
com.esri.core.geometry.OperatorGeodeticDensifyByLength
- Direct Known Subclasses:
OperatorGeodeticDensifyLocal
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 -
Method Summary
Modifier and TypeMethodDescriptionabstract 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.getType()
local()
Methods inherited from class com.esri.core.geometry.Operator
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
-
Constructor Details
-
OperatorGeodeticDensifyByLength
OperatorGeodeticDensifyByLength()
-
-
Method Details
-
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
-