com.vividsolutions.jts.operation.valid
Class TopologyValidationError

java.lang.Object
  extended bycom.vividsolutions.jts.operation.valid.TopologyValidationError

public class TopologyValidationError
extends java.lang.Object

Contains information about the nature and location of a Geometry validation error

Version:
1.4.0

Field Summary
static int DISCONNECTED_INTERIOR
           
static int DUPLICATE_RINGS
           
static int ERROR
           
static int HOLE_OUTSIDE_SHELL
           
static int NESTED_HOLES
           
static int NESTED_SHELLS
           
static int REPEATED_POINT
           
static int RING_SELF_INTERSECTION
           
static int SELF_INTERSECTION
           
static int TOO_FEW_POINTS
           
 
Constructor Summary
TopologyValidationError(int errorType)
           
TopologyValidationError(int errorType, Coordinate pt)
           
 
Method Summary
 Coordinate getCoordinate()
           
 int getErrorType()
           
 java.lang.String getMessage()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ERROR

public static int ERROR

REPEATED_POINT

public static int REPEATED_POINT

HOLE_OUTSIDE_SHELL

public static int HOLE_OUTSIDE_SHELL

NESTED_HOLES

public static int NESTED_HOLES

DISCONNECTED_INTERIOR

public static int DISCONNECTED_INTERIOR

SELF_INTERSECTION

public static int SELF_INTERSECTION

RING_SELF_INTERSECTION

public static int RING_SELF_INTERSECTION

NESTED_SHELLS

public static int NESTED_SHELLS

DUPLICATE_RINGS

public static int DUPLICATE_RINGS

TOO_FEW_POINTS

public static int TOO_FEW_POINTS
Constructor Detail

TopologyValidationError

public TopologyValidationError(int errorType,
                               Coordinate pt)

TopologyValidationError

public TopologyValidationError(int errorType)
Method Detail

getCoordinate

public Coordinate getCoordinate()

getErrorType

public int getErrorType()

getMessage

public java.lang.String getMessage()

toString

public java.lang.String toString()