jumbo.euclid
Class Real2Array
java.lang.Object
|
+--jumbo.euclid.Status
|
+--jumbo.euclid.Real2Array
- public class Real2Array
- extends Status
Real2Array is NOT a Vector of Real2s, but a container for
a 2-D array with a variety of ways of managing the data including
RealArrays for the x and y arrays, and also an array of Real2s
The latter is only stored if required, and then is cached.
| Methods inherited from class jumbo.euclid.Status |
NYI |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Real2Array
public Real2Array()
- default constructor gives an array of 0 points
Real2Array
public Real2Array(RealArray x,
RealArray y)
throws UnequalArraysException
- make an Real2_Array from 2 RealVec's; takes a copy
- Throws:
- UnequalArraysException - x and x must have number of elements
getRange2
public Real2Range getRange2()
throws UninitialisedException
- get max and min value of Real2_Array
- Throws:
- UninitialisedException - no values in array, so meaningless range
size
public int size()
elementAt
public Real2 elementAt(int elem)