@Test public void test_getRowLength() { assertEquals(3, grid.getRowLength(0)); assertEquals(9, grid.getRowLength(1)); assertEquals(16, grid.getRowLength(2)); assertEquals(22, grid.getRowLength(3)); assertEquals(4320, grid.getRowLength(2160 / 2 - 1)); assertEquals(4320, grid.getRowLength(2160 / 2)); assertEquals(3, grid.getRowLength(2160 - 1 - 0)); assertEquals(9, grid.getRowLength(2160 - 1 - 1)); assertEquals(16, grid.getRowLength(2160 - 1 - 2)); assertEquals(22, grid.getRowLength(2160 - 1 - 3)); }
public int getRowLength(int rowIndex) { return rowLength[rowIndex]; }
ISINGrid { public int getRowLength(int rowIndex) { return rowLength[rowIndex]; } }
ISINGrid { public int getRowLength(int rowIndex) { return rowLength[rowIndex]; } ISINGrid(int rowCount); }
ISINGrid { public int getRowLength(int rowIndex) { return rowLength[rowIndex]; } ISINGrid(int rowCount); int getRowCount(); double getBinSize(); double getDeltaLat(); int getTotalBinCount(); double getLat(int rowIndex); double getDeltaLon(int rowIndex); int getRowLength(int rowIndex); int getBinOffset(int rowIndex); int getRowIndex(int binIndex); Point getGridPoint(int binIndex, Point gridPoint); int getBinIndex(Point gridPoint); int getColIndex(int rowIndex, double lon); int getBinIndex(int rowIndex, double lon); static int detectRowCount(String productName); }
ISINGrid { public int getRowLength(int rowIndex) { return rowLength[rowIndex]; } ISINGrid(int rowCount); int getRowCount(); double getBinSize(); double getDeltaLat(); int getTotalBinCount(); double getLat(int rowIndex); double getDeltaLon(int rowIndex); int getRowLength(int rowIndex); int getBinOffset(int rowIndex); int getRowIndex(int binIndex); Point getGridPoint(int binIndex, Point gridPoint); int getBinIndex(Point gridPoint); int getColIndex(int rowIndex, double lon); int getBinIndex(int rowIndex, double lon); static int detectRowCount(String productName); static final double RE; static final int DEFAULT_ROW_COUNT; }