Package com.esri.core.geometry
Class OperatorShapePreservingProject
- java.lang.Object
-
- com.esri.core.geometry.Operator
-
- com.esri.core.geometry.OperatorShapePreservingProject
-
public abstract class OperatorShapePreservingProject extends Operator
The Shape Preserving Project Operator. The operation transforms not only the end points of the segments but also the interior points, thus preserving the geographic location of the segment interior. A maximum offset deviation parameter controls how much the result of the projection is allowed to deviate from the true preserved shape.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.esri.core.geometry.Operator
Operator.Type
-
-
Constructor Summary
Constructors Constructor Description OperatorShapePreservingProject()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract GeometryCursor
execute(GeometryCursor geometries, Envelope geometriesExtent, ProjectionTransformation transform, double minSegmentLengthInDegrees, double maxDeviationInSrTo, ProgressTracker progressTracker)
Performs the Shape Preserving Project operation on a geometry cursor.abstract Geometry
execute(Geometry geometry, ProjectionTransformation transform, double minSegmentLengthInDegrees, double maxDeviationInSrTo, ProgressTracker progressTracker)
Performs the Shape Preserving Project operation of a single geometry.Operator.Type
getType()
static OperatorShapePreservingProject
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 geometries, Envelope geometriesExtent, ProjectionTransformation transform, double minSegmentLengthInDegrees, double maxDeviationInSrTo, ProgressTracker progressTracker)
Performs the Shape Preserving Project operation on a geometry cursor.- Parameters:
geometries
- The geometry cursor to be projected.geometriesExtent
- The extent of the geometries in the cursor. Can be null. Providing this may help with horizon clipping.transform
- The projection transformation.minSegmentLengthInDegrees
- A lower bound controlling the densification in the input coordinate system. Pass in 0 for default behavior, which is 1e-5 degrees. If the input coordinate system is PCS, then this value is translated to length in linear units at the equator.maxDeviationInSrTo
- Controls much the result of the projection is allowed to deviate from the true preserved shape. Pass in 0 for default behavior, which is 100 * output tolerance.progressTracker
- The progress tracker that allows to cancel the operation. Pass nullptr if not needed.- Returns:
- A geometry cursor of projected geometries.
-
execute
public abstract Geometry execute(Geometry geometry, ProjectionTransformation transform, double minSegmentLengthInDegrees, double maxDeviationInSrTo, ProgressTracker progressTracker)
Performs the Shape Preserving Project operation of a single geometry.- Parameters:
geometry
- The geometry to be projected.transform
- The projection transformation.minSegmentLengthInDegrees
- A lower bound controlling the densification in the input coordinate system. Pass in 0 for default behavior, which is 1e-5 degrees. If the input coordinate system is PCS, then this value is translated to length in linear units at the equator.maxDeviationInSrTo
- Controls how much the result of the projection is allowed to deviate from the true preserved shape. Pass in 0 for default behavior, which is 100 * output tolerance.progressTracker
- The progress tracker that allows to cancel the operation. Pass nullptr if not needed.- Returns:
- The projected geometry.
-
local
public static OperatorShapePreservingProject local()
-
-