public class Rect
extends java.lang.Object
Constructor and Description |
---|
Rect() |
Rect(double[] vals) |
Rect(int x,
int y,
int width,
int height) |
Rect(Point p1,
Point p2) |
Rect(Point p,
Size s) |
Modifier and Type | Method and Description |
---|---|
double |
area() |
Point |
br() |
Rect |
clone() |
boolean |
contains(Point p) |
boolean |
empty() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
void |
set(double[] vals) |
Size |
size() |
Point |
tl() |
java.lang.String |
toString() |
public Rect(int x, int y, int width, int height)
public Rect()
public Rect(double[] vals)
public void set(double[] vals)
public Rect clone()
clone
in class java.lang.Object
public Point tl()
public Point br()
public Size size()
public double area()
public boolean empty()
public boolean contains(Point p)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Generated on Sun Nov 18 2018 11:54:12 UTC / OpenCV 4.0.0