public class SpecifiedNumberOfPointsCoverageGriddingTechnique extends Object implements ICoverageGriddingTechnique
| Constructor and Description |
|---|
SpecifiedNumberOfPointsCoverageGriddingTechnique(int numberOfPoints)
Initializes the gridding method with the specified number of points.
|
| Modifier and Type | Method and Description |
|---|---|
List<Double> |
grid(Bounds coordinateBounds,
boolean isCyclic)
Grids the coordinate.
|
public SpecifiedNumberOfPointsCoverageGriddingTechnique(int numberOfPoints)
numberOfPoints - The number of points this coordinate is to have.ArgumentException - Thrown if numberOfPoints is less than one.@Nonnull public final List<Double> grid(@Nonnull Bounds coordinateBounds, boolean isCyclic)
grid in interface ICoverageGriddingTechniquecoordinateBounds - 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.