| java.lang.Object org.opengis.pt.PT_CoordinatePoint
PT_CoordinatePoint | public class PT_CoordinatePoint implements Cloneable,Serializable(Code) | | A position defined by a list of numbers. The ordinate values are indexed from
0 to (NumDim-1 ), where NumDim is the
dimension of the coordinate system the coordinate point belongs in.
version: 1.01 since: 1.00 author: Martin Daly author: Martin Desruisseaux |
Field Summary | |
public double[] | ord The ordinates of the coordinate point. |
Constructor Summary | |
public | PT_CoordinatePoint() Construct an empty coordinate point. | public | PT_CoordinatePoint(double x, double y) Construct a 2D coordinate from the specified ordinates. | public | PT_CoordinatePoint(double x, double y, double z) Construct a 3D coordinate from the specified ordinates. |
Method Summary | |
public Object | clone() Returns a deep copy of this coordinate. | public boolean | equals(Object object) Compares the specified object with this coordinate for equality. | public int | hashCode() Returns a hash value for this coordinate. | public String | toString() Returns a string representation of this coordinate. |
ord | public double[] ord(Code) | | The ordinates of the coordinate point.
|
PT_CoordinatePoint | public PT_CoordinatePoint(double x, double y)(Code) | | Construct a 2D coordinate from the specified ordinates.
|
PT_CoordinatePoint | public PT_CoordinatePoint(double x, double y, double z)(Code) | | Construct a 3D coordinate from the specified ordinates.
|
clone | public Object clone()(Code) | | Returns a deep copy of this coordinate.
|
equals | public boolean equals(Object object)(Code) | | Compares the specified object with this coordinate for equality.
|
hashCode | public int hashCode()(Code) | | Returns a hash value for this coordinate. This value need not remain
consistent between different implementations of the same class.
|
toString | public String toString()(Code) | | Returns a string representation of this coordinate. The returned string
is implementation dependent. It is usually provided for debugging
purposes only.
|
|
|