Class DblBoundingBox


  • public class DblBoundingBox
    extends Object
    • Constructor Detail

      • DblBoundingBox

        public DblBoundingBox()
      • 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()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object