public ArrayDouble.D2 getMidpoints() { if (midpoint == null) doRead(); return midpoint; }
public ArrayDouble.D2 getCoordValuesArray() { if (coords == null) doRead(); return coords; }
public ArrayDouble.D2 getCoordValuesArray() { if (coords == null) doRead(); return coords; }
/** * Get the coordinate value at the i, j index. * * @param i index 0 (fastest varying, right-most) * @param j index 1 * @return midpoint.get(j, i). */ public double getCoordValue(int j, int i) { if (coords == null) doRead(); return coords.get(j, i); }
/** * Get the coordinate value at the i, j index. * * @param i index 0 (fastest varying, right-most) * @param j index 1 * @return midpoint.get(j, i). */ public double getCoordValue(int j, int i) { if (coords == null) doRead(); return coords.get(j, i); }
/** Get the coordinate value at the i, j index. * @param i index 0 (fastest varying, right-most) * @param j index 1 * @return midpoint.get( j,i). */ public double getCoordValue(int j, int i) { if (midpoint == null) doRead(); return midpoint.get( j, i); }
/** * Only call if isInterval() * * @return bounds array pr null if not an interval */ public ArrayDouble.D3 getCoordBoundsArray() { if (coords == null) doRead(); return makeBoundsFromAux(); }
/** * Only call if isInterval() * * @return bounds array pr null if not an interval */ public ArrayDouble.D3 getCoordBoundsArray() { if (coords == null) doRead(); return makeBoundsFromAux(); }
/** Get the coordinate values as a 1D double array, in canonical order. * @return coordinate values * @exception UnsupportedOperationException if !isNumeric() */ public double[] getCoordValues() { if (midpoint == null) doRead(); if (!isNumeric()) throw new UnsupportedOperationException("CoordinateAxis2D.getCoordValues() on non-numeric"); return (double[]) midpoint.get1DJavaArray( double.class); }
/** * Get the coordinate values as a 1D double array, in canonical order. * * @return coordinate values * @throws UnsupportedOperationException if !isNumeric() */ public double[] getCoordValues() { if (coords == null) doRead(); if (!isNumeric()) throw new UnsupportedOperationException("CoordinateAxis2D.getCoordValues() on non-numeric"); return (double[]) coords.get1DJavaArray(double.class); }
/** * Get the coordinate values as a 1D double array, in canonical order. * * @return coordinate values * @throws UnsupportedOperationException if !isNumeric() */ public double[] getCoordValues() { if (coords == null) doRead(); if (!isNumeric()) throw new UnsupportedOperationException("CoordinateAxis2D.getCoordValues() on non-numeric"); return (double[]) coords.get1DJavaArray(DataType.DOUBLE); }