Class 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 Detail

      • OperatorGeodeticDensifyByLength

        OperatorGeodeticDensifyByLength()
    • Method Detail

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