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

Public Member Functions

 Point3 (double x, double y, double z)
 Point3 ()
 Point3 (Point p)
 Point3 (double[] vals)
void set (double[] vals)
Point3 clone ()
double dot (Point3 p)
Point3 cross (Point3 p)
override int GetHashCode ()
override bool Equals (Object obj)
override string ToString ()
bool Equals (Point3 a)

Static Public Member Functions

static Point3 operator- (Point3 a)
static Point3 operator+ (Point3 a, Point3 b)
static Point3 operator- (Point3 a, Point3 b)
static Point3 operator* (Point3 a, double b)
static Point3 operator* (double a, Point3 b)
static Point3 operator/ (Point3 a, double b)
static bool operator== (Point3 a, Point3 b)
static bool operator!= (Point3 a, Point3 b)

Public Attributes

double x

Detailed Description

template<typename _Tp> class CV_EXPORTS Point3_

// C++ code:


typedef _Tp value_type;

// various constructors


Point3_(_Tp _x, _Tp _y, _Tp _z);

Point3_(const Point3_& pt);

explicit Point3_(const Point_<_Tp>& pt);

Point3_(const CvPoint3D32f& pt);

Point3_(const Vec<_Tp, 3>& v);

Point3_& operator = (const Point3_& pt);

//! conversion to another data type

template<typename _Tp2> operator Point3_<_Tp2>() const;

//! conversion to the old-style CvPoint...

operator CvPoint3D32f() const;

//! conversion to cv.Vec<>

operator Vec<_Tp, 3>() const;

//! dot product

_Tp dot(const Point3_& pt) const;

//! dot product computed in double-precision arithmetics

double ddot(const Point3_& pt) const;

//! cross product of the 2 3D points

Point3_ cross(const Point3_& pt) const;

_Tp x, y, z; //< the point coordinates


Template class for 3D points specified by its coordinates

x, y and z. An instance of the class is interchangeable with the C structure CvPoint2D32f. Similarly to Point_, the coordinates of 3D points can be converted to another type. The vector arithmetic and comparison operations are also supported. The following Point3_<> aliases are available:

// C++ code:

typedef Point3_<int> Point3i;

typedef Point3_<float> Point3f;

typedef Point3_<double> Point3d;

See also

Constructor & Destructor Documentation

◆ Point3() [1/4]

OpenCVForUnity.CoreModule.Point3.Point3 ( double  x,
double  y,
double  z 

◆ Point3() [2/4]

OpenCVForUnity.CoreModule.Point3.Point3 ( )

◆ Point3() [3/4]

OpenCVForUnity.CoreModule.Point3.Point3 ( Point  p)

◆ Point3() [4/4]

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

Member Function Documentation

◆ clone()

Point3 OpenCVForUnity.CoreModule.Point3.clone ( )

◆ cross()

Point3 OpenCVForUnity.CoreModule.Point3.cross ( Point3  p)

◆ dot()

double ( Point3  p)

◆ Equals() [1/2]

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

◆ Equals() [2/2]

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

◆ GetHashCode()

override int OpenCVForUnity.CoreModule.Point3.GetHashCode ( )

◆ operator!=()

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

◆ operator*() [1/2]

static Point3 OpenCVForUnity.CoreModule.Point3.operator* ( Point3  a,
double  b 

◆ operator*() [2/2]

static Point3 OpenCVForUnity.CoreModule.Point3.operator* ( double  a,
Point3  b 

◆ operator+()

static Point3 OpenCVForUnity.CoreModule.Point3.operator+ ( Point3  a,
Point3  b 

◆ operator-() [1/2]

static Point3 OpenCVForUnity.CoreModule.Point3.operator- ( Point3  a)

◆ operator-() [2/2]

static Point3 OpenCVForUnity.CoreModule.Point3.operator- ( Point3  a,
Point3  b 

◆ operator/()

static Point3 OpenCVForUnity.CoreModule.Point3.operator/ ( Point3  a,
double  b 

◆ operator==()

static bool OpenCVForUnity.CoreModule.Point3.operator== ( Point3  a,
Point3  b 

◆ set()

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

◆ ToString()

override string OpenCVForUnity.CoreModule.Point3.ToString ( )

Member Data Documentation

◆ x

double OpenCVForUnity.CoreModule.Point3.x

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