Class DblBoundingBox
- java.lang.Object
-
- org.opennms.features.topology.api.DblBoundingBox
-
public class DblBoundingBox extends Object
-
-
Constructor Summary
Constructors Constructor Description DblBoundingBox()
DblBoundingBox(double x, double y, double width, double height)
DblBoundingBox(Point2D center, double width, double height)
DblBoundingBox(DblBoundingBox box)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Constructor Detail
-
DblBoundingBox
public DblBoundingBox()
-
DblBoundingBox
public DblBoundingBox(DblBoundingBox box)
-
DblBoundingBox
public DblBoundingBox(double x, double y, double width, double height)
-
DblBoundingBox
public DblBoundingBox(Point2D center, double width, double height)
-
-
Method Detail
-
getX
public double getX()
-
getY
public double getY()
-
getWidth
public double getWidth()
-
getHeight
public double getHeight()
-
addPoint
public void addPoint(Point2D location)
-
getCenter
public Point2D getCenter()
-
setCenter
public void setCenter(Point center)
-
computeWithAspectRatio
public DblBoundingBox computeWithAspectRatio(double R)
-
fragment
public String fragment()
-
addBoundingbox
public void addBoundingbox(DblBoundingBox box)
-
-