public class DblBoundingBox extends Object
Constructor and Description |
---|
DblBoundingBox() |
DblBoundingBox(DblBoundingBox box) |
DblBoundingBox(double x,
double y,
double width,
double height) |
DblBoundingBox(Point2D center,
double width,
double height) |
Modifier and Type | Method and Description |
---|---|
void |
addBoundingbox(DblBoundingBox box) |
void |
addPoint(Point2D location) |
DblBoundingBox |
computeWithAspectRatio(double R) |
boolean |
equals(Object obj) |
String |
fragment() |
Point2D |
getCenter() |
double |
getHeight() |
double |
getWidth() |
double |
getX() |
double |
getY() |
int |
hashCode() |
void |
setCenter(Point center) |
String |
toString() |
public DblBoundingBox()
public DblBoundingBox(DblBoundingBox box)
public DblBoundingBox(double x, double y, double width, double height)
public DblBoundingBox(Point2D center, double width, double height)
public double getX()
public double getY()
public double getWidth()
public double getHeight()
public void addPoint(Point2D location)
public Point2D getCenter()
public void setCenter(Point center)
public DblBoundingBox computeWithAspectRatio(double R)
public String fragment()
public void addBoundingbox(DblBoundingBox box)
Copyright © 2021. All rights reserved.