Class DblBoundingBox


  • public class DblBoundingBox
    extends java.lang.Object
    • Constructor Detail

      • DblBoundingBox

        public DblBoundingBox()
      • DblBoundingBox

        public DblBoundingBox​(double x,
                              double y,
                              double width,
                              double height)
      • DblBoundingBox

        public DblBoundingBox​(java.awt.geom.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​(java.awt.geom.Point2D location)
      • getCenter

        public java.awt.geom.Point2D getCenter()
      • setCenter

        public void setCenter​(Point center)
      • computeWithAspectRatio

        public DblBoundingBox computeWithAspectRatio​(double R)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • fragment

        public java.lang.String fragment()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object