|
JTS Topology Suite version 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vividsolutions.jts.geom.util.GeometryEditor.CoordinateOperation com.vividsolutions.jts.precision.PrecisionReducerCoordinateOperation
public class PrecisionReducerCoordinateOperation
Constructor Summary | |
---|---|
PrecisionReducerCoordinateOperation(PrecisionModel targetPM,
boolean removeCollapsed)
|
Method Summary | |
---|---|
Coordinate[] |
edit(Coordinate[] coordinates,
Geometry geom)
Edits the array of Coordinate s from a Geometry . |
Methods inherited from class com.vividsolutions.jts.geom.util.GeometryEditor.CoordinateOperation |
---|
edit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrecisionReducerCoordinateOperation(PrecisionModel targetPM, boolean removeCollapsed)
Method Detail |
---|
public Coordinate[] edit(Coordinate[] coordinates, Geometry geom)
GeometryEditor.CoordinateOperation
Coordinate
s from a Geometry
.
If it is desired to preserve the immutability of Geometrys, if the coordinates are changed a new array should be created and returned.
edit
in class GeometryEditor.CoordinateOperation
coordinates
- the coordinate array to operate ongeom
- the geometry containing the coordinate list
|
JTS Topology Suite version 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |