Package uk.ac.rdg.resc.edal.domain
Class SimpleVerticalDomain
- java.lang.Object
-
- uk.ac.rdg.resc.edal.domain.SimpleVerticalDomain
-
- All Implemented Interfaces:
Serializable
,Domain<Double>
,VerticalDomain
public class SimpleVerticalDomain extends Object implements VerticalDomain, Serializable
A simpleVerticalDomain
containing just an extent and aVerticalCrs
- Author:
- Guy Griffiths
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleVerticalDomain(Double min, Double max, VerticalCrs crs)
SimpleVerticalDomain(Extent<Double> extent, VerticalCrs crs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(Double position)
boolean
equals(Object obj)
Extent<Double>
getExtent()
VerticalCrs
getVerticalCrs()
int
hashCode()
-
-
-
Constructor Detail
-
SimpleVerticalDomain
public SimpleVerticalDomain(Extent<Double> extent, VerticalCrs crs)
-
SimpleVerticalDomain
public SimpleVerticalDomain(Double min, Double max, VerticalCrs crs)
-
-
Method Detail
-
contains
public boolean contains(Double position)
-
getExtent
public Extent<Double> getExtent()
- Specified by:
getExtent
in interfaceVerticalDomain
- Returns:
- The
Extent
of the domain
-
getVerticalCrs
public VerticalCrs getVerticalCrs()
- Specified by:
getVerticalCrs
in interfaceVerticalDomain
- Returns:
- The co-ordinate reference system which applies to this domain
-
-