Package com.esri.core.geometry
Class OperatorGeodeticDensifyLocal
java.lang.Object
com.esri.core.geometry.Operator
com.esri.core.geometry.OperatorGeodeticDensifyByLength
com.esri.core.geometry.OperatorGeodeticDensifyLocal
-
Nested Class Summary
Nested classes/interfaces inherited from class com.esri.core.geometry.Operator
Operator.Type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute
(GeometryCursor geoms, double maxSegmentLengthMeters, SpatialReference sr, int curveType, ProgressTracker progressTracker) Densifies input geometries.execute
(Geometry geom, double maxSegmentLengthMeters, SpatialReference sr, int curveType, ProgressTracker progressTracker) Same as above, but works with a single geometry.Methods inherited from class com.esri.core.geometry.OperatorGeodeticDensifyByLength
getType, local
Methods inherited from class com.esri.core.geometry.Operator
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
-
Constructor Details
-
OperatorGeodeticDensifyLocal
OperatorGeodeticDensifyLocal()
-
-
Method Details
-
execute
public GeometryCursor execute(GeometryCursor geoms, double maxSegmentLengthMeters, SpatialReference sr, int curveType, ProgressTracker progressTracker) Description copied from class:OperatorGeodeticDensifyByLength
Densifies input geometries. Attributes are interpolated along the scalar t-values of the input segments obtained from the length ratios along the densified segments.- Specified by:
execute
in classOperatorGeodeticDensifyByLength
- 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 Geometry execute(Geometry geom, double maxSegmentLengthMeters, SpatialReference sr, int curveType, ProgressTracker progressTracker) Description copied from class:OperatorGeodeticDensifyByLength
Same as above, but works with a single geometry.- Specified by:
execute
in classOperatorGeodeticDensifyByLength
-