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.Point Class Reference

Template class for 2D points specified by its coordinates x and y. More...

Inheritance diagram for OpenCVForUnity.CoreModule.Point:

Public Member Functions

 Point (double x, double y)
 
 Point ()
 
 Point (double[] vals)
 
void set (double[] vals)
 
Point clone ()
 
double dot (Point p)
 
override int GetHashCode ()
 
override bool Equals (Object obj)
 
bool inside (Rect r)
 
override string ToString ()
 
 Point (in Vec2d vals)
 
 Point (in(double x, double y) vals)
 
void set (in Vec2d vals)
 
void set (in(double x, double y) vals)
 
Vec2d cloneAsVec2d ()
 
double double y cloneAsValueTuple ()
 
double dot (in Vec2d p)
 
double dot (in(double x, double y) p)
 
bool inside (in Vec4i r)
 
bool inside (in(int x, int y, int width, int height) r)
 
double double y ToValueTuple ()
 
Vec2d ToVec2d ()
 
bool Equals (Point a)
 

Static Public Member Functions

static operator Vec2d (Point point)
 
static operator (double x, double y)(Point point)
 
static operator Point (in(double x, double y) valueTuple)
 
static Point operator- (Point a)
 
static Point operator+ (Point a, Point b)
 
static Point operator- (Point a, Point b)
 
static Point operator* (Point a, double b)
 
static Point operator* (double a, Point b)
 
static Point operator/ (Point a, double b)
 
static bool operator== (Point a, Point b)
 
static bool operator!= (Point a, Point b)
 

Public Attributes

double x
 
double y
 

Detailed Description

Template class for 2D points specified by its coordinates x and y.

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

See also
https://docs.opencv.org/4.10.0/db/d4e/classcv_1_1Point__.html

Constructor & Destructor Documentation

◆ Point() [1/5]

OpenCVForUnity.CoreModule.Point.Point ( double x,
double y )

◆ Point() [2/5]

OpenCVForUnity.CoreModule.Point.Point ( )

default constructor

◆ Point() [3/5]

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

◆ Point() [4/5]

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

◆ Point() [5/5]

OpenCVForUnity.CoreModule.Point.Point ( in(double x, double y) vals)

Member Function Documentation

◆ clone()

Point OpenCVForUnity.CoreModule.Point.clone ( )

◆ cloneAsValueTuple()

double double y OpenCVForUnity.CoreModule.Point.cloneAsValueTuple ( )

◆ cloneAsVec2d()

Vec2d OpenCVForUnity.CoreModule.Point.cloneAsVec2d ( )

◆ dot() [1/3]

double OpenCVForUnity.CoreModule.Point.dot ( in Vec2d p)

dot product

◆ dot() [2/3]

double OpenCVForUnity.CoreModule.Point.dot ( in(double x, double y) p)

dot product

◆ dot() [3/3]

double OpenCVForUnity.CoreModule.Point.dot ( Point p)

dot product

◆ Equals() [1/2]

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

◆ Equals() [2/2]

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

◆ GetHashCode()

override int OpenCVForUnity.CoreModule.Point.GetHashCode ( )

◆ inside() [1/3]

bool OpenCVForUnity.CoreModule.Point.inside ( in Vec4i r)

checks whether the point is inside the specified rectangle

◆ inside() [2/3]

bool OpenCVForUnity.CoreModule.Point.inside ( in(int x, int y, int width, int height) r)

checks whether the point is inside the specified rectangle

◆ inside() [3/3]

bool OpenCVForUnity.CoreModule.Point.inside ( Rect r)

checks whether the point is inside the specified rectangle

◆ operator()

static OpenCVForUnity.CoreModule.Point.operator ( double x,
double y )
explicitstatic

◆ operator Point()

static OpenCVForUnity.CoreModule.Point.operator Point ( in(double x, double y) valueTuple)
explicitstatic

◆ operator Vec2d()

static OpenCVForUnity.CoreModule.Point.operator Vec2d ( Point point)
explicitstatic

◆ operator!=()

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

◆ operator*() [1/2]

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

◆ operator*() [2/2]

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

◆ operator+()

◆ operator-() [1/2]

◆ operator-() [2/2]

◆ operator/()

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

◆ operator==()

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

◆ set() [1/3]

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

◆ set() [2/3]

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

◆ set() [3/3]

void OpenCVForUnity.CoreModule.Point.set ( in(double x, double y) vals)

◆ ToString()

override string OpenCVForUnity.CoreModule.Point.ToString ( )

◆ ToValueTuple()

double double y OpenCVForUnity.CoreModule.Point.ToValueTuple ( )

◆ ToVec2d()

Vec2d OpenCVForUnity.CoreModule.Point.ToVec2d ( )

Member Data Documentation

◆ x

double OpenCVForUnity.CoreModule.Point.x

x coordinate of the point

◆ y

double OpenCVForUnity.CoreModule.Point.y

y coordinate of the point


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