org.geotools.caching.spatialindex
Class Point
java.lang.Object
org.geotools.caching.spatialindex.Point
- All Implemented Interfaces:
- java.lang.Cloneable, Shape
public class Point
- extends java.lang.Object
- implements Shape, java.lang.Cloneable
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_pCoords
public double[] m_pCoords
Point
public Point(double[] pCoords)
Point
public Point(Point pt)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
intersects
public boolean intersects(Shape s)
- Specified by:
intersects
in interface Shape
contains
public boolean contains(Shape s)
- Specified by:
contains
in interface Shape
touches
public boolean touches(Shape s)
- Specified by:
touches
in interface Shape
getCenter
public double[] getCenter()
- Specified by:
getCenter
in interface Shape
getDimension
public int getDimension()
- Specified by:
getDimension
in interface Shape
getMBR
public Region getMBR()
- Specified by:
getMBR
in interface Shape
getArea
public double getArea()
- Specified by:
getArea
in interface Shape
getMinimumDistance
public double getMinimumDistance(Shape s)
- Specified by:
getMinimumDistance
in interface Shape
getCoord
public double getCoord(int index)
throws java.lang.IndexOutOfBoundsException
- Throws:
java.lang.IndexOutOfBoundsException
Copyright © 1996-2010 Geotools. All Rights Reserved.