Class DoubleRectangle

java.lang.Object
org.ampere.base.util.DoubleRectangle

public class DoubleRectangle extends Object
Rectangle with double values
Author:
hmorel
  • Field Details

    • xmin

      public double xmin
    • xmax

      public double xmax
    • ymin

      public double ymin
    • ymax

      public double ymax
  • Constructor Details

    • DoubleRectangle

      public DoubleRectangle(double x, double y)
    • DoubleRectangle

      public DoubleRectangle(RawPoint p)
    • DoubleRectangle

      public DoubleRectangle(DoubleRectangle source)
      Copy constructor
      Parameters:
      source -
  • Method Details

    • add

      public void add(double x, double y)
    • add

      public void add(RawPoint p)
    • getWidth

      public double getWidth()
    • getHeight

      public double getHeight()
    • getMiddleY

      public double getMiddleY()
    • toString

      public String toString()
      Overrides:
      toString in class Object