public class SpecifiedCollectionCoverageGriddingTechnique extends Object implements ICoverageGriddingTechnique
|Constructor and Description|
Initializes the gridding method with the specified collection.
|Modifier and Type||Method and Description|
Grids the coordinate.
public SpecifiedCollectionCoverageGriddingTechnique(@Nonnull Iterable<Double> points)
The input collection will be copied and sorted in ascending order, and each point will be verified to be within the bounds.
points- The collection of points.
ArgumentNullException- Thrown if
@Nonnull public final List<Double> grid(@Nonnull Bounds coordinateBounds, boolean isCyclic)
coordinateBounds- The bounds for the coordinate that is to be gridded. These bounds are inclusive.
isCyclic- Indicates if the coordinate is cyclic (i.e. an angle). Winding must be removed before gridding.
IllegalStateException- Thrown if any point within the collection is outside of the bounds of the gridding coordinate.