org.geotools.validation.relate
Class TouchesIntegrity

java.lang.Object
  extended by org.geotools.validation.DefaultIntegrityValidation
      extended by org.geotools.validation.relate.RelationIntegrity
          extended by org.geotools.validation.relate.TouchesIntegrity
All Implemented Interfaces:
IntegrityValidation, Validation

public class TouchesIntegrity
extends RelationIntegrity

Author:
Pati Puropse:

Tests to see if a Geometry touches another Geometry. Description:

If only one Geometry is given, then this test checks to see if it touches to itself.

Usage:


Field Summary
 
Fields inherited from class org.geotools.validation.relate.RelationIntegrity
EMPTY, expected
 
Fields inherited from interface org.geotools.validation.Validation
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL
 
Constructor Summary
TouchesIntegrity()
          OverlapsIntegrity Constructor
 
Method Summary
 boolean validate(java.util.Map layers, com.vividsolutions.jts.geom.Envelope envelope, ValidationResults results)
           
 
Methods inherited from class org.geotools.validation.relate.RelationIntegrity
getGeomTypeRefA, getGeomTypeRefB, getTypeRefs, isExpected, setExpected, setExpected, setGeomTypeRefA, setGeomTypeRefB
 
Methods inherited from class org.geotools.validation.DefaultIntegrityValidation
getDescription, getName, getPriority, setDescription, setName, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TouchesIntegrity

public TouchesIntegrity()
OverlapsIntegrity Constructor

Method Detail

validate

public boolean validate(java.util.Map layers,
                        com.vividsolutions.jts.geom.Envelope envelope,
                        ValidationResults results)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 1996-2010 Geotools. All Rights Reserved.