Package uk.ac.rdg.resc.edal.dataset
Class FeatureIndexer.FeatureBounds
- java.lang.Object
-
- uk.ac.rdg.resc.edal.dataset.FeatureIndexer.FeatureBounds
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- FeatureIndexer
public static class FeatureIndexer.FeatureBounds extends Object implements Serializable
A class representing the spatial bounds of a feature with a single point. This is used to index features.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FeatureBounds(String id, BoundingBox hBbox, Extent<Double> verticalExtent, Extent<org.joda.time.DateTime> timeExtent, Collection<String> variableIds)
FeatureBounds(String id, HorizontalPosition horizontalPosition, Extent<Double> verticalExtent, Extent<org.joda.time.DateTime> timeExtent, Collection<String> variableIds)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FeatureIndexer.FeatureBounds
fromPointSeriesFeature(PointSeriesFeature feature)
Convenience method to generate aFeatureIndexer.FeatureBounds
object from aPointSeriesFeature
static FeatureIndexer.FeatureBounds
fromProfileFeature(ProfileFeature feature)
Convenience method to generate aFeatureIndexer.FeatureBounds
object from aProfileFeature
static FeatureIndexer.FeatureBounds
fromProfileFeature(TrajectoryFeature feature)
Convenience method to generate aFeatureIndexer.FeatureBounds
object from aTrajectoryFeature
-
-
-
Constructor Detail
-
FeatureBounds
public FeatureBounds(String id, HorizontalPosition horizontalPosition, Extent<Double> verticalExtent, Extent<org.joda.time.DateTime> timeExtent, Collection<String> variableIds)
-
FeatureBounds
public FeatureBounds(String id, BoundingBox hBbox, Extent<Double> verticalExtent, Extent<org.joda.time.DateTime> timeExtent, Collection<String> variableIds)
-
-
Method Detail
-
fromProfileFeature
public static FeatureIndexer.FeatureBounds fromProfileFeature(ProfileFeature feature)
Convenience method to generate aFeatureIndexer.FeatureBounds
object from aProfileFeature
- Parameters:
feature
- AProfileFeature
to calculate the bounds for- Returns:
- The appropriate
FeatureIndexer.FeatureBounds
-
fromPointSeriesFeature
public static FeatureIndexer.FeatureBounds fromPointSeriesFeature(PointSeriesFeature feature)
Convenience method to generate aFeatureIndexer.FeatureBounds
object from aPointSeriesFeature
- Parameters:
feature
- APointSeriesFeature
to calculate the bounds for- Returns:
- The appropriate
FeatureIndexer.FeatureBounds
-
fromProfileFeature
public static FeatureIndexer.FeatureBounds fromProfileFeature(TrajectoryFeature feature)
Convenience method to generate aFeatureIndexer.FeatureBounds
object from aTrajectoryFeature
- Parameters:
feature
- ATrajectoryFeature
to calculate the bounds for- Returns:
- The appropriate
FeatureIndexer.FeatureBounds
-
-