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 boolean
equals(Object obj)
double
getMaximumHeight()
Get the maximum heightString
getMaximumHeightText()
Get the maximum height textdouble
getMinimumHeight()
Get the minimum heightString
getMinimumHeightText()
Get the minimum height textUnit
getUnit()
Get the unit (length)int
hashCode()
boolean
hasUnit()
Has a unit (length)void
setMaximumHeight(double maximumHeight)
Set the maximum heightvoid
setMaximumHeight(String maximumHeight)
Set the maximum heightvoid
setMinimumHeight(double minimumHeight)
Set the minimum heightvoid
setMinimumHeight(String minimumHeight)
Set the minimum heightvoid
setUnit(Unit unit)
Set the unit (length)String
toString()
-
-
-
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)
-
-