T
- The type used to describe the bounds of the grid cell.public class VolumeElementCoverageGridCell<T> extends Object implements ICoverageGridCell
Constructor and Description |
---|
VolumeElementCoverageGridCell(double volume,
T gridCellBounds)
Initializes a volume element grid cell.
|
Modifier and Type | Method and Description |
---|---|
T |
getGridCellBounds()
Gets the grid cell bounds.
|
Double |
scalarMeasure(JulianDate date,
int dimension)
Returns a scalar measure for the grid cell.
|
@Nullable public final Double scalarMeasure(@Nonnull JulianDate date, int dimension)
This grid cell type returns the volume (dimension 3). It will return null
otherwise.
Some examples of scalar measure are: for dimension 1 the perimeter, for dimension 2 the area or surface area, for dimension 3 the volume.
scalarMeasure
in interface ICoverageGridCell
date
- The date at which to evaluate the scalar measure of the grid cell.dimension
- The dimension of the scalar measure requested.null
.