public Range visibleRange(ContourDataset data,Range x,Range y){
  Range range=data.getZValueRange(x,y);
  return range;
}

public Range visibleRange ( ContourDataset data , Range x , Range y ) { Range range = data . getZValueRange ( x , y ) ; return range ; }
returns the visible z - range .
