public class GeometrySnapRounder
extends java.lang.Object
Geometry
using Snap-Rounding
to a given PrecisionModel
.
GeometryPrecisionReducer
may be used to do this.Constructor | Description |
---|---|
GeometrySnapRounder(PrecisionModel pm) |
Creates a new snap-rounder which snap-rounds to a grid specified
by the given
PrecisionModel . |
Modifier and Type | Method | Description |
---|---|---|
Geometry |
execute(Geometry geom) |
Snap-rounds the given geometry.
|
void |
setLineworkOnly(boolean isLineworkOnly) |
public GeometrySnapRounder(PrecisionModel pm)
PrecisionModel
.pm
- the precision model for the grid to snap-round toCopyright © 2018. All rights reserved.