com.esri.core.geometry
Class OperatorDensifyByLength

java.lang.Object
  extended by com.esri.core.geometry.Operator
      extended by com.esri.core.geometry.OperatorDensifyByLength

public abstract class OperatorDensifyByLength
extends Operator

Densifies MultiPath geometries by length so that no segments are longer than given threshold value.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.esri.core.geometry.Operator
Operator.Type
 
Constructor Summary
OperatorDensifyByLength()
           
 
Method Summary
abstract  GeometryCursor execute(GeometryCursor inputGeometries, double maxLength, ProgressTracker progressTracker)
          Performs the Densify operation on the geometry set.
abstract  Geometry execute(Geometry inputGeometry, double maxLength, ProgressTracker progressTracker)
          Performs the Densify operation on the geometry set.
 Operator.Type getType()
           
static OperatorDensifyByLength local()
           
 
Methods inherited from class com.esri.core.geometry.Operator
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperatorDensifyByLength

public OperatorDensifyByLength()
Method Detail

getType

public Operator.Type getType()
Specified by:
getType in class Operator

execute

public abstract GeometryCursor execute(GeometryCursor inputGeometries,
                                       double maxLength,
                                       ProgressTracker progressTracker)
Performs the Densify operation on the geometry set.

Parameters:
inputGeometries - The geometries to be densified.
maxLength - The maximum segment length allowed. Must be a positive value. Curves are densified to straight segments using the maxSegmentLength. Curves are split into shorter subcurves such that the length of subcurves is shorter than maxSegmentLength. After that the curves are replaced with straight segments.
progressTracker -
Returns:
Returns the densified geometries (It does nothing to geometries with dim < 1, but simply passes them along).

execute

public abstract Geometry execute(Geometry inputGeometry,
                                 double maxLength,
                                 ProgressTracker progressTracker)
Performs the Densify operation on the geometry set.

Parameters:
inputGeometry - The geometry to be densified.
maxLength - The maximum segment length allowed. Must be a positive value. Curves are densified to straight segments using the maxSegmentLength. Curves are split into shorter subcurves such that the length of subcurves is shorter than maxSegmentLength. After that the curves are replaced with straight segments.
progressTracker -
Returns:
Returns the densified geometry. (It does nothing to geometries with dim < 1, but simply passes them along).

local

public static OperatorDensifyByLength local()


Copyright © 2013. All Rights Reserved.