public class NodingFunctions
extends java.lang.Object
Constructor and Description |
---|
NodingFunctions() |
Modifier and Type | Method and Description |
---|---|
private static java.util.List |
createSegmentStrings(Geometry geom) |
static Geometry |
findNodePoints(Geometry geom) |
static Geometry |
findSingleNodePoint(Geometry geom) |
static int |
interiorIntersectionCount(Geometry geom) |
static boolean |
isNodingValid(Geometry geom) |
static Geometry |
MCIndexNoding(Geometry geom) |
static Geometry |
MCIndexNodingWithPrecision(Geometry geom,
double scaleFactor) |
static Geometry |
scaledNoding(Geometry geom,
double scaleFactor)
Runs a ScaledNoder on input.
|
static Geometry |
snapRoundWithPointwisePrecisionReduction(Geometry geom,
double scaleFactor)
Reduces precision pointwise, then snap-rounds.
|
public static Geometry snapRoundWithPointwisePrecisionReduction(Geometry geom, double scaleFactor)
geom
- a geometry containing linework to nodescaleFactor
- the precision model scale factor to usepublic static boolean isNodingValid(Geometry geom)
public static int interiorIntersectionCount(Geometry geom)
public static Geometry MCIndexNodingWithPrecision(Geometry geom, double scaleFactor)
public static Geometry scaledNoding(Geometry geom, double scaleFactor)
geom
- scaleFactor
- private static java.util.List createSegmentStrings(Geometry geom)