public class EllipsoidSurfaceRegionCoverageGridCell extends Object implements ICoverageGridCell
|Constructor and Description|
Initializes this 2D grid cell with the specified parameters.
|Modifier and Type||Method and Description|
Gets the grid point's grid cell boundary vertices.
Returns a scalar measure for the grid cell.
public EllipsoidSurfaceRegionCoverageGridCell(@Nonnull Collection<Cartographic> gridBoundaryVertices, double area, @Nonnull Ellipsoid shape)
gridBoundaryVertices- The vertices for this cell as computed by the gridding algorithm.
area- The surface area of this region as computed by the gridding algorithm.
shape- The ellipsoid on which this grid cell is defined.
ArgumentNullException- Thrown when
ArgumentOutOfRangeException- Thrown when the area is negative.
ArgumentException- Thrown when the number of boundary vertices is less than 3.
@Nullable public Double scalarMeasure(@Nonnull JulianDate date, int dimension)
This grid cell can return the perimeter (dimension 1) and surface area (dimension 2). It will return
Some examples of scalar measure are: for dimension 1 the perimeter, for dimension 2 the area or surface area, for dimension 3 the volume.
date- The date at which to evaluate the scalar measure of the grid cell.
dimension- The dimension of the scalar measure requested.
public final List<Cartographic> getGridCellBoundaryVertices()
public final EllipsoidSurfaceCurve getGridCellBoundary()
EllipsoidSurfaceCurvethat represent this grid cell's boundary.