@Test public void gridPointIdToSeqnumInZone() { assertEquals(1, SmosDgg.gridPointIdToSeqnumInZone(1)); assertEquals(2, SmosDgg.gridPointIdToSeqnumInZone(2)); assertEquals(3, SmosDgg.gridPointIdToSeqnumInZone(3)); assertEquals(262144, SmosDgg.gridPointIdToSeqnumInZone(262144)); assertEquals(262145, SmosDgg.gridPointIdToSeqnumInZone(262145)); assertEquals(1, SmosDgg.gridPointIdToSeqnumInZone(1000001)); assertEquals(2, SmosDgg.gridPointIdToSeqnumInZone(1000002)); assertEquals(262143, SmosDgg.gridPointIdToSeqnumInZone(1262143)); assertEquals(262144, SmosDgg.gridPointIdToSeqnumInZone(1262144)); assertEquals(1, SmosDgg.gridPointIdToSeqnumInZone(2000001)); assertEquals(2, SmosDgg.gridPointIdToSeqnumInZone(2000002)); assertEquals(262143, SmosDgg.gridPointIdToSeqnumInZone(8262143)); assertEquals(262144, SmosDgg.gridPointIdToSeqnumInZone(8262144)); assertEquals(1, SmosDgg.gridPointIdToSeqnumInZone(9000001)); assertEquals(2, SmosDgg.gridPointIdToSeqnumInZone(9000002)); assertEquals(262144, SmosDgg.gridPointIdToSeqnumInZone(9262144)); assertEquals(262145, SmosDgg.gridPointIdToSeqnumInZone(9262145)); }
static int gridPointIdToSeqnumInZone(int gridPointId) { return gridPointId % A; }
SmosDgg { static int gridPointIdToSeqnumInZone(int gridPointId) { return gridPointId % A; } }
SmosDgg { static int gridPointIdToSeqnumInZone(int gridPointId) { return gridPointId % A; } private  SmosDgg(); }
SmosDgg { static int gridPointIdToSeqnumInZone(int gridPointId) { return gridPointId % A; } private  SmosDgg(); static SmosDgg getInstance(); static int gridPointIdToSeqnum(int gridPointId); static int seqnumToSeqnumInZone(int seqnum); static int seqnumToZoneId(int seqnum); AffineTransform getImageToMapTransform(); MultiLevelImage getMultiLevelImage(); }
SmosDgg { static int gridPointIdToSeqnumInZone(int gridPointId) { return gridPointId % A; } private  SmosDgg(); static SmosDgg getInstance(); static int gridPointIdToSeqnum(int gridPointId); static int seqnumToSeqnumInZone(int seqnum); static int seqnumToZoneId(int seqnum); AffineTransform getImageToMapTransform(); MultiLevelImage getMultiLevelImage(); static final int MIN_GRID_POINT_ID; static final int MAX_GRID_POINT_ID; static final int MAX_SEQNUM; static final int MAX_ZONE_ID; }