ui/src/main/java/ucar/nc2/ui/gis/SpatialGrid.java
public void setOverlap(int overlap) {
    // overlap limited to [0, 50%]
    double dover = Math.max( 0.0, Math.min(.01*overlap, .50));
    scaleOverlap = 1.0 - dover;
  }
public void setOverlap(int overlap) {
    // overlap limited to [0, 50%]
    double dover = Math.max( 0.0, Math.min(.01*overlap, .50));
    scaleOverlap = 1.0 - dover;
  }
public void setOverlap ( int overlap ) { // overlap limited to [0, 50%] double dover = Math . max ( 0.0 , Math . min ( .01 * overlap , .50 ) ) ; scaleOverlap = 1.0 - dover ; }
Set how much the data may overlap.
@param overlap : percent overlap
Set how much the data may overlap .