public class Densifier extends Object
Geometry by inserting extra vertices along the line segments
contained in the geometry.
All segments in the created densified geometry will be no longer than
than the given distance tolerance.
Densified polygonal geometries are guaranteed to be topologically correct.
The coordinates created during densification respect the input geometry's
scale.
Note: At some future point this class will offer a variety of densification strategies.
| Constructor and Description |
|---|
Densifier() |
public static <V extends Geometry> V densify(V geometry, double distanceTolerance)
geometry - the geometry to densifydistanceTolerance - the distance tolerance to densifyCopyright © 2015 Revolution Systems Inc.. All rights reserved.