org.intamap.gml.geometry
Class RectifiedGrid

java.lang.Object
  extended by com.vividsolutions.jts.geom.Geometry
      extended by org.intamap.gml.geometry.RectifiedGrid
All Implemented Interfaces:
Serializable, Cloneable, Comparable

public class RectifiedGrid
extends com.vividsolutions.jts.geom.Geometry
implements Serializable

Author:
Matthew Williams
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.vividsolutions.jts.geom.Geometry
envelope, factory, SRID
 
Constructor Summary
RectifiedGrid(int width, int height, com.vividsolutions.jts.geom.Point origin, double xoffset, double yoffset)
           
 
Method Summary
 void apply(com.vividsolutions.jts.geom.CoordinateFilter arg0)
           
 void apply(com.vividsolutions.jts.geom.CoordinateSequenceFilter arg0)
           
 void apply(com.vividsolutions.jts.geom.GeometryComponentFilter arg0)
           
 void apply(com.vividsolutions.jts.geom.GeometryFilter arg0)
           
protected  int compareToSameClass(Object arg0)
           
protected  int compareToSameClass(Object arg0, com.vividsolutions.jts.geom.CoordinateSequenceComparator arg1)
           
protected  com.vividsolutions.jts.geom.Envelope computeEnvelopeInternal()
           
 boolean equalsExact(com.vividsolutions.jts.geom.Geometry arg0, double arg1)
           
 com.vividsolutions.jts.geom.Geometry getBoundary()
           
 int getBoundaryDimension()
           
 com.vividsolutions.jts.geom.Coordinate getCoordinate()
           
 com.vividsolutions.jts.geom.Coordinate[] getCoordinates()
           
 int getDimension()
           
 String getGeometryType()
           
 int getHeight()
           
 int getNumPoints()
           
 com.vividsolutions.jts.geom.Point getOrigin()
           
 int getWidth()
           
 double getXOffset()
           
 double getYOffset()
           
 boolean isEmpty()
           
 void normalize()
           
 void setSRID(int srid)
           
 String toString()
           
 
Methods inherited from class com.vividsolutions.jts.geom.Geometry
buffer, buffer, buffer, checkNotGeometryCollection, clone, compare, compareTo, compareTo, contains, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, equal, equals, equalsExact, geometryChanged, geometryChangedAction, getArea, getCentroid, getEnvelope, getEnvelopeInternal, getFactory, getGeometryN, getInteriorPoint, getLength, getNumGeometries, getPrecisionModel, getSRID, getUserData, hasNonEmptyElements, hasNullElements, intersection, intersects, isEquivalentClass, isRectangle, isSimple, isValid, isWithinDistance, overlaps, relate, relate, setUserData, symDifference, toText, touches, union, union, within
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RectifiedGrid

public RectifiedGrid(int width,
                     int height,
                     com.vividsolutions.jts.geom.Point origin,
                     double xoffset,
                     double yoffset)
Parameters:
width - of the grid
height - of the grid
origin - of the grid in a specified CRS
offset - of the grid in the same CRS as the origin
offset2 - of the grid in the same CRS as the origin
Method Detail

setSRID

public void setSRID(int srid)
Overrides:
setSRID in class com.vividsolutions.jts.geom.Geometry

getWidth

public int getWidth()
Returns:
the width

getHeight

public int getHeight()
Returns:
the height

getOrigin

public com.vividsolutions.jts.geom.Point getOrigin()
Returns:
the origin

getXOffset

public double getXOffset()
Returns:
the xOffset

getYOffset

public double getYOffset()
Returns:
the yOffset

compareToSameClass

protected int compareToSameClass(Object arg0)
Specified by:
compareToSameClass in class com.vividsolutions.jts.geom.Geometry

compareToSameClass

protected int compareToSameClass(Object arg0,
                                 com.vividsolutions.jts.geom.CoordinateSequenceComparator arg1)
Specified by:
compareToSameClass in class com.vividsolutions.jts.geom.Geometry

computeEnvelopeInternal

protected com.vividsolutions.jts.geom.Envelope computeEnvelopeInternal()
Specified by:
computeEnvelopeInternal in class com.vividsolutions.jts.geom.Geometry

apply

public void apply(com.vividsolutions.jts.geom.CoordinateFilter arg0)
Specified by:
apply in class com.vividsolutions.jts.geom.Geometry

apply

public void apply(com.vividsolutions.jts.geom.CoordinateSequenceFilter arg0)
Specified by:
apply in class com.vividsolutions.jts.geom.Geometry

apply

public void apply(com.vividsolutions.jts.geom.GeometryFilter arg0)
Specified by:
apply in class com.vividsolutions.jts.geom.Geometry

apply

public void apply(com.vividsolutions.jts.geom.GeometryComponentFilter arg0)
Specified by:
apply in class com.vividsolutions.jts.geom.Geometry

equalsExact

public boolean equalsExact(com.vividsolutions.jts.geom.Geometry arg0,
                           double arg1)
Specified by:
equalsExact in class com.vividsolutions.jts.geom.Geometry

getBoundary

public com.vividsolutions.jts.geom.Geometry getBoundary()
Specified by:
getBoundary in class com.vividsolutions.jts.geom.Geometry

getBoundaryDimension

public int getBoundaryDimension()
Specified by:
getBoundaryDimension in class com.vividsolutions.jts.geom.Geometry

getCoordinate

public com.vividsolutions.jts.geom.Coordinate getCoordinate()
Specified by:
getCoordinate in class com.vividsolutions.jts.geom.Geometry

getCoordinates

public com.vividsolutions.jts.geom.Coordinate[] getCoordinates()
Specified by:
getCoordinates in class com.vividsolutions.jts.geom.Geometry

getDimension

public int getDimension()
Specified by:
getDimension in class com.vividsolutions.jts.geom.Geometry

getGeometryType

public String getGeometryType()
Specified by:
getGeometryType in class com.vividsolutions.jts.geom.Geometry

getNumPoints

public int getNumPoints()
Specified by:
getNumPoints in class com.vividsolutions.jts.geom.Geometry

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in class com.vividsolutions.jts.geom.Geometry

normalize

public void normalize()
Specified by:
normalize in class com.vividsolutions.jts.geom.Geometry

toString

public String toString()
Overrides:
toString in class com.vividsolutions.jts.geom.Geometry