org.opengis.pt
Class PT_Matrix

java.lang.Object
  extended byorg.opengis.pt.PT_Matrix
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class PT_Matrix
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

A two dimensional array of numbers.

Since:
1.00
Version:
1.01
Author:
Martin Daly, Martin Desruisseaux
See Also:
Serialized Form

Field Summary
 double[][] elt
          Elements of the matrix.
private static long serialVersionUID
          Use serialVersionUID from first draft for interoperability with CSS 1.00.
 
Constructor Summary
PT_Matrix()
          Construct an empty matrix.
 
Method Summary
 java.lang.Object clone()
          Returns a deep copy of this matrix.
 boolean equals(java.lang.Object object)
          Compares the specified object with this matrix for equality.
 int hashCode()
          Returns a hash value for this coordinate.
 java.lang.String toString()
          Returns a string representation of this matrix.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Use serialVersionUID from first draft for interoperability with CSS 1.00.

See Also:
Constant Field Values

elt

public double[][] elt
Elements of the matrix. The elements should be stored in a rectangular two dimensional array. So in Java, all double[] elements of the outer array must have the same size. In COM, this is represented as a 2D SAFEARRAY.

Constructor Detail

PT_Matrix

public PT_Matrix()
Construct an empty matrix. Caller must initialize elt.

Method Detail

hashCode

public int hashCode()
Returns a hash value for this coordinate. This value need not remain consistent between different implementations of the same class.


equals

public boolean equals(java.lang.Object object)
Compares the specified object with this matrix for equality.


clone

public java.lang.Object clone()
Returns a deep copy of this matrix.


toString

public java.lang.String toString()
Returns a string representation of this matrix. The returned string is implementation dependent. It is usually provided for debugging purposes only.