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.
  • Constructor Details

    • OperatorGeodeticDensifyByLength

      OperatorGeodeticDensifyByLength()
  • Method Details

    • getType

      public Operator.Type getType()
      Specified by:
      getType in class Operator
    • 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()