Class cv::Point3_#

Template class for 3D points specified by its coordinates x, y and z. View details

Collaboration diagram for cv::Point3_:

Detailed Description#

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:

typedef Point3_<int> Point3i;
typedef Point3_<float> Point3f;
typedef Point3_<double> Point3d;

Member Typedef Documentation#

value_type#

typedef Tp cv::Point3::value_type

Constructor & Destructor Documentation#

Point3_()#

cv::Point3_::Point3_()

default constructor

Point3_()#

cv::Point3_::Point3_(
_Tp _x,
_Tp _y,
_Tp _z )

Point3_()#

cv::Point3_::Point3_(const Point3_ & pt)

Point3_()#

cv::Point3_::Point3_(const Point_< _Tp > & pt)

Point3_()#

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

Point3_()#

cv::Point3_::Point3_(Point3_ && pt)

Member Function Documentation#

cross()#

Point3_ cv::Point3_::cross(const Point3_ & pt)

cross product of the 2 3D points

ddot()#

double cv::Point3_::ddot(const Point3_ & pt)

dot product computed in double-precision arithmetics

dot()#

Tp cv::Point3::dot(const Point3_ & pt)

dot product

operator Point3_< _Tp2 >()#

template<typename _Tp2>
cv::Point3_::operator Point3_< _Tp2 >()

conversion to another data type

operator Vec< _Tp, 3 >()#

cv::Point3_::operator Vec< _Tp, 3 >()

conversion to cv::Vec<>

operator=()#

Point3_ & cv::Point3_::operator=(const Point3_ & pt)

operator=()#

Point3_ & cv::Point3_::operator=(Point3_ && pt)

Member Data Documentation#

x#

Tp cv::Point3::x

x coordinate of the 3D point

y#

Tp cv::Point3::y

y coordinate of the 3D point

z#

Tp cv::Point3::z

z coordinate of the 3D point

Source file#

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