Tests to see if a geometry crosses itself. It does not detect if a segment of a LineString doubles back on itself for one segment, then terminates. A different validation is needed to test overlapping. Uses JTS' crosses routine.
Example Use:
LineNoSelfIntersectFeatureValidation x = new LineNoSelfIntersectFeatureValidation("noSelfIntersectRoads", "Tests to see if a geometry intersects itself", new String[] {"road"});
@author bowens, Refractions Research, Inc.
@author $Author: jive $ (last modification)
@source $URL$
@version $Id$- bowens: changed intersects to crosses
|
|
|
|