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 simpleVerticalDomaincontaining 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 booleancontains(Double position)booleanequals(Object obj)Extent<Double>getExtent()VerticalCrsgetVerticalCrs()inthashCode()
-
-
-
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:
getExtentin interfaceVerticalDomain- Returns:
- The
Extentof the domain
-
getVerticalCrs
public VerticalCrs getVerticalCrs()
- Specified by:
getVerticalCrsin interfaceVerticalDomain- Returns:
- The co-ordinate reference system which applies to this domain
-
-