OpenCV for Unity 2.6.3
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.CoreModule.Size Class Reference

Template class for specifying the size of an image or rectangle. More...

Inheritance diagram for OpenCVForUnity.CoreModule.Size:

Public Member Functions

 Size (double width, double height)
 
 Size ()
 
 Size (Point p)
 
 Size (double[] vals)
 
void set (double[] vals)
 
double area ()
 
bool empty ()
 
Size clone ()
 
override int GetHashCode ()
 
override bool Equals (Object obj)
 
override string ToString ()
 
 Size (in Vec2d vals)
 
 Size (in(double width, double height) vals)
 
void set (in Vec2d vals)
 
void set (in(double width, double height) vals)
 
Vec2d cloneAsVec2d ()
 
double double height cloneAsValueTuple ()
 
double double height ToValueTuple ()
 
Vec2d ToVec2d ()
 
bool Equals (Size a)
 

Static Public Member Functions

static operator Vec2d (Size size)
 
static operator (double width, double height)(Size size)
 
static operator Size (in(double width, double height) valueTuple)
 
static Size operator+ (Size a, Size b)
 
static Size operator- (Size a, Size b)
 
static Size operator* (Size a, double b)
 
static Size operator/ (Size a, double b)
 
static bool operator== (Size a, Size b)
 
static bool operator!= (Size a, Size b)
 

Public Attributes

double width
 
double height
 

Detailed Description

Template class for specifying the size of an image or rectangle.

C++: cv::Size_<_Tp> Class Template Reference

See also
https://docs.opencv.org/4.10.0/d6/d50/classcv_1_1Size__.html

Constructor & Destructor Documentation

◆ Size() [1/6]

OpenCVForUnity.CoreModule.Size.Size ( double width,
double height )

◆ Size() [2/6]

OpenCVForUnity.CoreModule.Size.Size ( )

default constructor

◆ Size() [3/6]

OpenCVForUnity.CoreModule.Size.Size ( Point p)

◆ Size() [4/6]

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

◆ Size() [5/6]

OpenCVForUnity.CoreModule.Size.Size ( in Vec2d vals)

◆ Size() [6/6]

OpenCVForUnity.CoreModule.Size.Size ( in(double width, double height) vals)

Member Function Documentation

◆ area()

double OpenCVForUnity.CoreModule.Size.area ( )

the area (width*height)

◆ clone()

Size OpenCVForUnity.CoreModule.Size.clone ( )

◆ cloneAsValueTuple()

double double height OpenCVForUnity.CoreModule.Size.cloneAsValueTuple ( )

◆ cloneAsVec2d()

Vec2d OpenCVForUnity.CoreModule.Size.cloneAsVec2d ( )

◆ empty()

bool OpenCVForUnity.CoreModule.Size.empty ( )

true if empty

◆ Equals() [1/2]

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

◆ Equals() [2/2]

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

◆ GetHashCode()

override int OpenCVForUnity.CoreModule.Size.GetHashCode ( )

◆ operator()

static OpenCVForUnity.CoreModule.Size.operator ( double width,
double height )
explicitstatic

◆ operator Size()

static OpenCVForUnity.CoreModule.Size.operator Size ( in(double width, double height) valueTuple)
explicitstatic

◆ operator Vec2d()

static OpenCVForUnity.CoreModule.Size.operator Vec2d ( Size size)
explicitstatic

◆ operator!=()

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

◆ operator*()

static Size OpenCVForUnity.CoreModule.Size.operator* ( Size a,
double b )
static

◆ operator+()

◆ operator-()

◆ operator/()

static Size OpenCVForUnity.CoreModule.Size.operator/ ( Size a,
double b )
static

◆ operator==()

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

◆ set() [1/3]

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

◆ set() [2/3]

void OpenCVForUnity.CoreModule.Size.set ( in Vec2d vals)

◆ set() [3/3]

void OpenCVForUnity.CoreModule.Size.set ( in(double width, double height) vals)

◆ ToString()

override string OpenCVForUnity.CoreModule.Size.ToString ( )

◆ ToValueTuple()

double double height OpenCVForUnity.CoreModule.Size.ToValueTuple ( )

◆ ToVec2d()

Vec2d OpenCVForUnity.CoreModule.Size.ToVec2d ( )

Member Data Documentation

◆ height

double OpenCVForUnity.CoreModule.Size.height

the height

◆ width

double OpenCVForUnity.CoreModule.Size.width

the width


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