Package ucar.unidata.geoloc
Class ProjectionRect.Builder
- java.lang.Object
-
- ucar.unidata.geoloc.ProjectionRect.Builder
-
- Enclosing class:
- ProjectionRect
public static class ProjectionRect.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectionRect.Builder
add(double newx, double newy)
Extend the rectangle by the given point.ProjectionRect.Builder
add(ProjectionPoint pt)
Extend the rectangle by the given point.ProjectionRect
build()
ProjectionRect.Builder
extend(ProjectionRect r)
Extend the rectangle by the given rectangle.ProjectionRect.Builder
setHeight(double height)
ProjectionRect.Builder
setRect(double x, double y, double w, double h)
ProjectionRect.Builder
setRect(ProjectionRect r)
ProjectionRect.Builder
setWidth(double width)
ProjectionRect.Builder
setX(double x)
ProjectionRect.Builder
setY(double y)
-
-
-
Method Detail
-
setX
public ProjectionRect.Builder setX(double x)
-
setY
public ProjectionRect.Builder setY(double y)
-
setWidth
public ProjectionRect.Builder setWidth(double width)
-
setHeight
public ProjectionRect.Builder setHeight(double height)
-
setRect
public ProjectionRect.Builder setRect(double x, double y, double w, double h)
-
setRect
public ProjectionRect.Builder setRect(ProjectionRect r)
-
extend
public ProjectionRect.Builder extend(ProjectionRect r)
Extend the rectangle by the given rectangle.
-
add
public ProjectionRect.Builder add(double newx, double newy)
Extend the rectangle by the given point.
-
add
public ProjectionRect.Builder add(ProjectionPoint pt)
Extend the rectangle by the given point.
-
build
public ProjectionRect build()
-
-