Package com.esri.core.geometry
Class OperatorShapePreservingDensifyLocal
- java.lang.Object
-
- com.esri.core.geometry.Operator
-
- com.esri.core.geometry.OperatorShapePreservingDensify
-
- com.esri.core.geometry.OperatorShapePreservingDensifyLocal
-
class OperatorShapePreservingDensifyLocal extends OperatorShapePreservingDensify
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.esri.core.geometry.Operator
Operator.Type
-
-
Constructor Summary
Constructors Constructor Description OperatorShapePreservingDensifyLocal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeometryCursor
execute(GeometryCursor geoms, SpatialReference sr, double maxLengthMeters, double maxDeviationMeters, double reserved, ProgressTracker progressTracker)
Performs the Shape Preserving Densify operation on the geometry set.Geometry
execute(Geometry geom, SpatialReference sr, double maxLengthMeters, double maxDeviationMeters, double reserved, ProgressTracker progressTracker)
Performs the Shape Preserving Densify operation on the geometry.-
Methods inherited from class com.esri.core.geometry.OperatorShapePreservingDensify
getType, local
-
Methods inherited from class com.esri.core.geometry.Operator
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
-
-
-
-
Method Detail
-
execute
public GeometryCursor execute(GeometryCursor geoms, SpatialReference sr, double maxLengthMeters, double maxDeviationMeters, double reserved, ProgressTracker progressTracker)
Description copied from class:OperatorShapePreservingDensify
Performs the Shape Preserving Densify operation on the geometry set. 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 classOperatorShapePreservingDensify
- Parameters:
geoms
- The geometries to be densified.sr
- The spatial reference of the geometries.maxLengthMeters
- The maximum segment length allowed. Must be a positive value to be used. Pass zero or NaN to disable densification by length.maxDeviationMeters
- The maximum deviation. Must be a positive value to be used. Pass zero or NaN to disable densification by deviation.reserved
- Must be 0 or NaN. Reserved for future use. Throws and exception if not NaN or 0.- Returns:
- Returns the densified geometries (It does nothing to geometries with dim less than 1, but simply passes them along). The operation always starts from the lowest point on the segment, thus guaranteeing that topologically equal segments are always densified exactly the same.
-
execute
public Geometry execute(Geometry geom, SpatialReference sr, double maxLengthMeters, double maxDeviationMeters, double reserved, ProgressTracker progressTracker)
Description copied from class:OperatorShapePreservingDensify
Performs the Shape Preserving Densify operation on the geometry. 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 classOperatorShapePreservingDensify
- Parameters:
geom
- The geometry to be densified.sr
- The spatial reference of the geometry.maxLengthMeters
- The maximum segment length allowed. Must be a positive value to be used. Pass zero or NaN to disable densification by length.maxDeviationMeters
- The maximum deviation. Must be a positive value to be used. Pass zero or NaN to disable densification by deviation.reserved
- Must be 0 or NaN. Reserved for future use. Throws and exception if not NaN or 0.- Returns:
- Returns the densified geometries (It does nothing to geometries with dim less than 1, but simply passes them along). The operation always starts from the lowest point on the segment, thus guaranteeing that topologically equal segments are always densified exactly the same.
-
-