com.vividsolutions.jts.operation.valid
Class IsValidOp
java.lang.Objectcom.vividsolutions.jts.operation.valid.IsValidOp
public class IsValidOp
extends java.lang.Object
Implements the algorithsm required to compute the
isValid() method
for
Geometrys.
IsValidOp
public IsValidOp(Geometry parentGeometry)
findPtNotNode
public static Coordinate findPtNotNode(Coordinate[] testCoords,
LinearRing searchRing,
GeometryGraph graph) Find a point from the list of testCoords
that is NOT a node in the edge for the list of searchCoords
- the point found, or
null if none found
isValid
public boolean isValid()
isValid
public static boolean isValid(Coordinate coord)
Checks whether a coordinate is valid for processing.
Coordinates are valid iff their x and y ordinates are in the
range of the floating point representation.
coord - the coordinate to validate
true if the coordinate is valid