|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 if either
ArgumentOutOfRangeException- Thrown if the area is negative.
ArgumentException- Thrown if 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.
public final List<Cartographic> getGridCellBoundaryVertices()