Package ucar.unidata.geoloc
Class LatLonRect.Builder
- java.lang.Object
-
- ucar.unidata.geoloc.LatLonRect.Builder
-
- Enclosing class:
- LatLonRect
public static class LatLonRect.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder(double startLat, double startLon)
Start with a point, use extend() to add points.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LatLonRect
build()
LatLonRect.Builder
expand(double delta)
Expand rect in all directions by delta amount.LatLonRect.Builder
extend(double lat, double lon)
Extend the bounding box to contain this pointLatLonRect.Builder
extend(LatLonPoint latlon)
Extend the bounding box to contain this pointLatLonRect.Builder
extend(LatLonRect r)
Extend the bounding box to contain the given rectangle
-
-
-
Method Detail
-
extend
public LatLonRect.Builder extend(LatLonRect r)
Extend the bounding box to contain the given rectangle
-
extend
public LatLonRect.Builder extend(LatLonPoint latlon)
Extend the bounding box to contain this point
-
extend
public LatLonRect.Builder extend(double lat, double lon)
Extend the bounding box to contain this point
-
expand
public LatLonRect.Builder expand(double delta)
Expand rect in all directions by delta amount.
-
build
public LatLonRect build()
-
-