Package org.opencv.core
Class Rect2d
- java.lang.Object
-
- org.opencv.core.Rect2d
-
public class Rect2d extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
area()
Point
br()
Rect2d
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 Rect2d 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
-
-