public abstract class OperatorDensifyByLength extends Operator
Operator.Type
Constructor and Description |
---|
OperatorDensifyByLength() |
Modifier and Type | Method and Description |
---|---|
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() |
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
public Operator.Type getType()
public abstract GeometryCursor execute(GeometryCursor inputGeometries, double maxLength, ProgressTracker progressTracker)
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
- public abstract Geometry execute(Geometry inputGeometry, double maxLength, ProgressTracker progressTracker)
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
- public static OperatorDensifyByLength local()
Copyright © 2018. All rights reserved.