OpenCV 2.4.11

org.opencv.core

Class Size

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      double height 
      double width 
    • Constructor Summary

      Constructors 
      Constructor and Description
      Size() 
      Size(double[] vals) 
      Size(double width, double height) 
      Size(Point p) 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      double area() 
      Size clone() 
      boolean equals(java.lang.Object obj) 
      int hashCode() 
      void set(double[] vals) 
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • height

        public double height
      • width

        public double width
    • Constructor Detail

      • Size

        public Size()
      • Size

        public Size(double[] vals)
      • Size

        public Size(double width,
            double height)
      • Size

        public Size(Point p)
    • Method Detail

      • area

        public double area()
      • clone

        public Size clone()
        Overrides:
        clone in class java.lang.Object
      • equals

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

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

        public void set(double[] vals)
      • toString

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