org.geotools.validation.relate
Class SpatialTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.geotools.validation.relate.SpatialTestCase
All Implemented Interfaces:
junit.framework.Test

public class SpatialTestCase
extends junit.framework.TestCase

SpatialTestCase

Version:

Puropse:

DOCUMENT ME!!

Description:

DOCUMENT ME!!

Usage:

DOCUMENT ME!!

Author:
bowens
Created Apr 29, 2004

Field Summary
protected  FilterFactory filterFactory
           
protected  com.vividsolutions.jts.geom.GeometryFactory gf
           
protected  com.vividsolutions.jts.geom.Envelope lineBounds
           
protected  Feature[] lineFeatures
           
protected  Filter lineFilter
           
protected  FeatureType lineType
           
protected  com.vividsolutions.jts.geom.LineString ls0
           
protected  com.vividsolutions.jts.geom.LineString ls1
           
protected  com.vividsolutions.jts.geom.LineString ls2
           
protected  com.vividsolutions.jts.geom.LineString ls3
           
protected  java.lang.String namespace
           
 
Constructor Summary
SpatialTestCase(java.lang.String arg0)
          Constructor for OverlapsIntegrityTest.
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

gf

protected com.vividsolutions.jts.geom.GeometryFactory gf

lineType

protected FeatureType lineType

lineFeatures

protected Feature[] lineFeatures

lineBounds

protected com.vividsolutions.jts.geom.Envelope lineBounds

ls0

protected com.vividsolutions.jts.geom.LineString ls0

ls1

protected com.vividsolutions.jts.geom.LineString ls1

ls2

protected com.vividsolutions.jts.geom.LineString ls2

ls3

protected com.vividsolutions.jts.geom.LineString ls3

namespace

protected java.lang.String namespace

filterFactory

protected FilterFactory filterFactory

lineFilter

protected Filter lineFilter
Constructor Detail

SpatialTestCase

public SpatialTestCase(java.lang.String arg0)
Constructor for OverlapsIntegrityTest.

Parameters:
arg0 -
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception
See Also:

 			 (0,2)				(2.6,2)
 			    x					x
 				 \  				|
 				  \ls1				|ls2
 				   \	 			|
 			  (1,1)+				+
 				   |				|
 				   |				|
 		ls0		   |	   (2,0.1)	|						ls3
 (0,0)x----------+----------+----------+==========x----------x
 				   |				|			  (4,0)		 (5,0.1)
 				   |				|
 				   |				|
 				   x				x
 				(1,-1)			  (2,-1)

 

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © GeoTools. All Rights Reserved.