Class OperatorShapePreservingDensifyLocal


class OperatorShapePreservingDensifyLocal extends OperatorShapePreservingDensify
  • Constructor Details

    • OperatorShapePreservingDensifyLocal

      OperatorShapePreservingDensifyLocal()
  • Method Details

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