Package mil.nga.mgrs.gzd
Class LongitudinalStrip
- java.lang.Object
-
- mil.nga.mgrs.gzd.LongitudinalStrip
-
public class LongitudinalStrip extends Object
Longitudinal (vertical) strip- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description LongitudinalStrip(int number, double west, double east)
ConstructorLongitudinalStrip(int number, double west, double east, int expand)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getEast()
Get the eastern longitudeint
getExpand()
Get expand, number of additional neighbors to iterate over in combination with this stripint
getNumber()
Get the zone numberdouble
getWest()
Get the western longitudevoid
setEast(double east)
Set the eastern longitudevoid
setExpand(int expand)
Set the expand, number of additional neighbors to iterate over in combination with this stripvoid
setNumber(int number)
Set the zone numbervoid
setWest(double west)
Set the western longitude
-
-
-
Constructor Detail
-
LongitudinalStrip
public LongitudinalStrip(int number, double west, double east)
Constructor- Parameters:
number
- zone numberwest
- western longitudeeast
- eastern longitude
-
LongitudinalStrip
public LongitudinalStrip(int number, double west, double east, int expand)
Constructor- Parameters:
number
- zone numberwest
- western longitudeeast
- eastern longitudeexpand
- expansion for range iterations over neighboring strips
-
-
Method Detail
-
getNumber
public int getNumber()
Get the zone number- Returns:
- zone number
-
setNumber
public void setNumber(int number)
Set the zone number- Parameters:
number
- zone number
-
getWest
public double getWest()
Get the western longitude- Returns:
- western longitude
-
setWest
public void setWest(double west)
Set the western longitude- Parameters:
west
- western longitude
-
getEast
public double getEast()
Get the eastern longitude- Returns:
- eastern longitude
-
setEast
public void setEast(double east)
Set the eastern longitude- Parameters:
east
- eastern longitude
-
getExpand
public int getExpand()
Get expand, number of additional neighbors to iterate over in combination with this strip- Returns:
- neighbor iteration expansion
-
setExpand
public void setExpand(int expand)
Set the expand, number of additional neighbors to iterate over in combination with this strip- Parameters:
expand
- neighbor iteration expansion
-
-