OpenCV for Unity  2.6.0
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.9.0/index.html ) for the details of the argument of the method.
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
OpenCVForUnity.CoreModule.Rect2d Class Reference
Inheritance diagram for OpenCVForUnity.CoreModule.Rect2d:

Public Member Functions

 Rect2d (double x, double y, double width, double height)
 
 Rect2d ()
 
 Rect2d (Point p1, Point p2)
 
 Rect2d (Point p, Size s)
 
 Rect2d (double[] vals)
 
void set (double[] vals)
 
Rect2d clone ()
 
Point tl ()
 
Point br ()
 
Size size ()
 
double area ()
 
bool empty ()
 
bool contains (Point p)
 
override int GetHashCode ()
 
override bool Equals (Object obj)
 
override String ToString ()
 
bool Equals (Rect2d a)
 
bool contains (double x, double y)
 
bool contains (Rect2d rect)
 
void inflate (double width, double height)
 
void inflate (Size size)
 
Rect2d intersect (Rect2d rect)
 
bool intersectsWith (Rect2d rect)
 
Rect2d union (Rect2d rect)
 

Static Public Member Functions

static Rect2d operator+ (Rect2d a, Point b)
 
static Rect2d operator+ (Rect2d a, Size b)
 
static Rect2d operator- (Rect2d a, Point b)
 
static Rect2d operator- (Rect2d a, Size b)
 
static Rect2d operator& (Rect2d a, Rect2d b)
 
static Rect2d operator| (Rect2d a, Rect2d b)
 
static bool operator== (Rect2d a, Rect2d b)
 
static bool operator!= (Rect2d a, Rect2d b)
 
static Rect2d inflate (Rect2d rect, double x, double y)
 
static Rect2d intersect (Rect2d a, Rect2d b)
 
static Rect2d union (Rect2d a, Rect2d b)
 

Public Attributes

double x
 

Constructor & Destructor Documentation

◆ Rect2d() [1/5]

OpenCVForUnity.CoreModule.Rect2d.Rect2d ( double  x,
double  y,
double  width,
double  height 
)

◆ Rect2d() [2/5]

OpenCVForUnity.CoreModule.Rect2d.Rect2d ( )

◆ Rect2d() [3/5]

OpenCVForUnity.CoreModule.Rect2d.Rect2d ( Point  p1,
Point  p2 
)

◆ Rect2d() [4/5]

OpenCVForUnity.CoreModule.Rect2d.Rect2d ( Point  p,
Size  s 
)

◆ Rect2d() [5/5]

OpenCVForUnity.CoreModule.Rect2d.Rect2d ( double []  vals)

Member Function Documentation

◆ area()

double OpenCVForUnity.CoreModule.Rect2d.area ( )

◆ br()

Point OpenCVForUnity.CoreModule.Rect2d.br ( )

◆ clone()

Rect2d OpenCVForUnity.CoreModule.Rect2d.clone ( )

◆ contains() [1/3]

bool OpenCVForUnity.CoreModule.Rect2d.contains ( Point  p)

◆ contains() [2/3]

bool OpenCVForUnity.CoreModule.Rect2d.contains ( double  x,
double  y 
)

◆ contains() [3/3]

bool OpenCVForUnity.CoreModule.Rect2d.contains ( Rect2d  rect)

◆ empty()

bool OpenCVForUnity.CoreModule.Rect2d.empty ( )

◆ Equals() [1/2]

bool OpenCVForUnity.CoreModule.Rect2d.Equals ( Rect2d  a)

◆ Equals() [2/2]

override bool OpenCVForUnity.CoreModule.Rect2d.Equals ( Object  obj)

◆ GetHashCode()

override int OpenCVForUnity.CoreModule.Rect2d.GetHashCode ( )

◆ inflate() [1/3]

void OpenCVForUnity.CoreModule.Rect2d.inflate ( double  width,
double  height 
)

◆ inflate() [2/3]

void OpenCVForUnity.CoreModule.Rect2d.inflate ( Size  size)

◆ inflate() [3/3]

static Rect2d OpenCVForUnity.CoreModule.Rect2d.inflate ( Rect2d  rect,
double  x,
double  y 
)
static

◆ intersect() [1/2]

static Rect2d OpenCVForUnity.CoreModule.Rect2d.intersect ( Rect2d  a,
Rect2d  b 
)
static

◆ intersect() [2/2]

Rect2d OpenCVForUnity.CoreModule.Rect2d.intersect ( Rect2d  rect)

◆ intersectsWith()

bool OpenCVForUnity.CoreModule.Rect2d.intersectsWith ( Rect2d  rect)

◆ operator!=()

static bool OpenCVForUnity.CoreModule.Rect2d.operator!= ( Rect2d  a,
Rect2d  b 
)
static

◆ operator&()

static Rect2d OpenCVForUnity.CoreModule.Rect2d.operator & ( Rect2d  a,
Rect2d  b 
)
static

◆ operator+() [1/2]

static Rect2d OpenCVForUnity.CoreModule.Rect2d.operator+ ( Rect2d  a,
Point  b 
)
static

◆ operator+() [2/2]

static Rect2d OpenCVForUnity.CoreModule.Rect2d.operator+ ( Rect2d  a,
Size  b 
)
static

◆ operator-() [1/2]

static Rect2d OpenCVForUnity.CoreModule.Rect2d.operator- ( Rect2d  a,
Point  b 
)
static

◆ operator-() [2/2]

static Rect2d OpenCVForUnity.CoreModule.Rect2d.operator- ( Rect2d  a,
Size  b 
)
static

◆ operator==()

static bool OpenCVForUnity.CoreModule.Rect2d.operator== ( Rect2d  a,
Rect2d  b 
)
static

◆ operator|()

static Rect2d OpenCVForUnity.CoreModule.Rect2d.operator| ( Rect2d  a,
Rect2d  b 
)
static

◆ set()

void OpenCVForUnity.CoreModule.Rect2d.set ( double []  vals)

◆ size()

Size OpenCVForUnity.CoreModule.Rect2d.size ( )

◆ tl()

Point OpenCVForUnity.CoreModule.Rect2d.tl ( )

◆ ToString()

override String OpenCVForUnity.CoreModule.Rect2d.ToString ( )

◆ union() [1/2]

Rect2d OpenCVForUnity.CoreModule.Rect2d.union ( Rect2d  rect)

◆ union() [2/2]

static Rect2d OpenCVForUnity.CoreModule.Rect2d.union ( Rect2d  a,
Rect2d  b 
)
static

Member Data Documentation

◆ x

double OpenCVForUnity.CoreModule.Rect2d.x

The documentation for this class was generated from the following files: