|
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.noding.snapround.GeometryNoder
public class GeometryNoder
Nodes the linework in a list of Geometry
s using Snap-Rounding
to a given PrecisionModel
.
The input coordinates are expected to be rounded
to the given precision model.
This class does not perform that function.
GeometryPrecisionReducer
may be used to do this.
This class does not dissolve the output linework,
so there may be duplicate linestrings in the output.
Subsequent processing (e.g. polygonization) may require
the linework to be unique. Using UnaryUnion
is one way
to do this (although this is an inefficient approach).
Constructor Summary | |
---|---|
GeometryNoder(PrecisionModel pm)
Creates a new noder which snap-rounds to a grid specified by the given {@link PrecisionModel). |
Method Summary | |
---|---|
java.util.List |
node(java.util.Collection geoms)
Nodes the linework of a set of Geometrys using SnapRounding. |
void |
setValidate(boolean isValidityChecked)
Sets whether noding validity is checked after noding is performed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeometryNoder(PrecisionModel pm)
pm
- the precision model for the grid to snap-round toMethod Detail |
---|
public void setValidate(boolean isValidityChecked)
isValidityChecked
- public java.util.List node(java.util.Collection geoms)
geoms
- a Collection of Geometrys of any type
|
JTS Topology Suite version 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |