Package mil.nga.crs.common
Class VerticalExtent
- java.lang.Object
-
- mil.nga.crs.common.VerticalExtent
-
public class VerticalExtent extends Object
Vertical Extent- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description VerticalExtent()ConstructorVerticalExtent(double minimumHeight, double maximumHeight)ConstructorVerticalExtent(double minimumHeight, double maximumHeight, Unit unit)ConstructorVerticalExtent(String minimumHeight, String maximumHeight)ConstructorVerticalExtent(String minimumHeight, String maximumHeight, Unit unit)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)doublegetMaximumHeight()Get the maximum heightStringgetMaximumHeightText()Get the maximum height textdoublegetMinimumHeight()Get the minimum heightStringgetMinimumHeightText()Get the minimum height textUnitgetUnit()Get the unit (length)inthashCode()booleanhasUnit()Has a unit (length)voidsetMaximumHeight(double maximumHeight)Set the maximum heightvoidsetMaximumHeight(String maximumHeight)Set the maximum heightvoidsetMinimumHeight(double minimumHeight)Set the minimum heightvoidsetMinimumHeight(String minimumHeight)Set the minimum heightvoidsetUnit(Unit unit)Set the unit (length)StringtoString()
-
-
-
Constructor Detail
-
VerticalExtent
public VerticalExtent()
Constructor
-
VerticalExtent
public VerticalExtent(double minimumHeight, double maximumHeight)Constructor- Parameters:
minimumHeight- minimum heightmaximumHeight- maximum height
-
VerticalExtent
public VerticalExtent(String minimumHeight, String maximumHeight)
Constructor- Parameters:
minimumHeight- minimum heightmaximumHeight- maximum height- Since:
- 1.1.0
-
VerticalExtent
public VerticalExtent(double minimumHeight, double maximumHeight, Unit unit)Constructor- Parameters:
minimumHeight- minimum heightmaximumHeight- maximum heightunit- unit (length)
-
-
Method Detail
-
getMinimumHeight
public double getMinimumHeight()
Get the minimum height- Returns:
- minimum height
-
getMinimumHeightText
public String getMinimumHeightText()
Get the minimum height text- Returns:
- minimum height text
- Since:
- 1.1.0
-
setMinimumHeight
public void setMinimumHeight(double minimumHeight)
Set the minimum height- Parameters:
minimumHeight- minimum height
-
setMinimumHeight
public void setMinimumHeight(String minimumHeight)
Set the minimum height- Parameters:
minimumHeight- minimum height- Since:
- 1.1.0
-
getMaximumHeight
public double getMaximumHeight()
Get the maximum height- Returns:
- maximum height
-
getMaximumHeightText
public String getMaximumHeightText()
Get the maximum height text- Returns:
- maximum height text
- Since:
- 1.1.0
-
setMaximumHeight
public void setMaximumHeight(double maximumHeight)
Set the maximum height- Parameters:
maximumHeight- maximum height
-
setMaximumHeight
public void setMaximumHeight(String maximumHeight)
Set the maximum height- Parameters:
maximumHeight- maximum height- Since:
- 1.1.0
-
getUnit
public Unit getUnit()
Get the unit (length)- Returns:
- unit (length)
-
hasUnit
public boolean hasUnit()
Has a unit (length)- Returns:
- true if has unit (length)
-
setUnit
public void setUnit(Unit unit)
Set the unit (length)- Parameters:
unit- unit (length)
-
-