public class SpecifiedNumberOfPointsCoverageGriddingTechnique extends Object implements ICoverageGriddingTechnique
|Constructor and Description|
Initializes the gridding method with the specified number of points.
|Modifier and Type||Method and Description|
Grids the coordinate.
public SpecifiedNumberOfPointsCoverageGriddingTechnique(int numberOfPoints)
numberOfPoints- The number of points this coordinate is to have.
ArgumentException- Thrown if
numberOfPointsis less than one.
@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.