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 voidaddBoundingbox(DblBoundingBox box)voidaddPoint(Point2D location)DblBoundingBoxcomputeWithAspectRatio(double R)booleanequals(Object obj)Stringfragment()Point2DgetCenter()doublegetHeight()doublegetWidth()doublegetX()doublegetY()inthashCode()voidsetCenter(Point center)StringtoString()
-
-
-
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)
-
-