Package mil.nga.mgrs.gzd
Class GridRange
- java.lang.Object
-
- mil.nga.mgrs.gzd.GridRange
-
-
Constructor Summary
Constructors Constructor Description GridRange()
Constructor, full rangeGridRange(ZoneNumberRange zoneNumberRange, BandLetterRange bandLetterRange)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BandLetterRange
getBandLetterRange()
Get the band letter rangeBounds
getBounds()
Get the grid range boundsZoneNumberRange
getZoneNumberRange()
Get the zone number rangeIterator<GridZone>
iterator()
void
setBandLetterRange(BandLetterRange bandLetterRange)
Set the band letter rangevoid
setZoneNumberRange(ZoneNumberRange zoneNumberRange)
Set the zone number range-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
GridRange
public GridRange()
Constructor, full range
-
GridRange
public GridRange(ZoneNumberRange zoneNumberRange, BandLetterRange bandLetterRange)
Constructor- Parameters:
zoneNumberRange
- zone number rangebandLetterRange
- band letter range
-
-
Method Detail
-
getZoneNumberRange
public ZoneNumberRange getZoneNumberRange()
Get the zone number range- Returns:
- zone number range
-
setZoneNumberRange
public void setZoneNumberRange(ZoneNumberRange zoneNumberRange)
Set the zone number range- Parameters:
zoneNumberRange
- zone number range
-
getBandLetterRange
public BandLetterRange getBandLetterRange()
Get the band letter range- Returns:
- band letter range
-
setBandLetterRange
public void setBandLetterRange(BandLetterRange bandLetterRange)
Set the band letter range- Parameters:
bandLetterRange
- band letter range
-
getBounds
public Bounds getBounds()
Get the grid range bounds- Returns:
- bounds
-
-