Package org.opencv.core
Class Rect
- java.lang.Object
-
- org.opencv.core.Rect
-
public class Rect extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
set
public void set(double[] vals)
-
clone
public Rect clone()
- Overrides:
clone
in classjava.lang.Object
-
tl
public Point tl()
-
br
public Point br()
-
size
public Size size()
-
area
public double area()
-
empty
public boolean empty()
-
contains
public boolean contains(Point p)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-