Package thredds.client.catalog
Class ThreddsMetadata.GeospatialRange
- java.lang.Object
-
- thredds.client.catalog.ThreddsMetadata.GeospatialRange
-
- Enclosing class:
- ThreddsMetadata
@Immutable public static class ThreddsMetadata.GeospatialRange extends Object
Implements spatialRange type.
-
-
Field Summary
Fields Modifier and Type Field Description doubleresolutiondoublesizedoublestartStringunits
-
Constructor Summary
Constructors Constructor Description GeospatialRange(double start, double size, double resolution, String units)ConstructorGeospatialRange(ThreddsMetadata.GeospatialRange from)Copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetResolution()doublegetSize()doublegetStart()StringgetUnits()booleanhasResolution()
-
-
-
Field Detail
-
start
public final double start
-
size
public final double size
-
resolution
public final double resolution
-
units
public final String units
-
-
Constructor Detail
-
GeospatialRange
public GeospatialRange(double start, double size, double resolution, String units)Constructor- Parameters:
start- starting valuesize- ending = start + sizeresolution- data resolution, or NaN if unknownunits- what units are start, size in?
-
GeospatialRange
public GeospatialRange(ThreddsMetadata.GeospatialRange from)
Copy constructor
-
-
Method Detail
-
getStart
public double getStart()
-
getSize
public double getSize()
-
getResolution
public double getResolution()
-
getUnits
public String getUnits()
-
hasResolution
public boolean hasResolution()
-
-