|
OpenCV453
|
Template class for 3D points specified by its coordinates x, y and z.
[詳解]
#include <types.hpp>
公開型 | |
| typedef _Tp | value_type |
公開メンバ関数 | |
| Point3_ () | |
| default constructor | |
| Point3_ (_Tp _x, _Tp _y, _Tp _z) | |
| Point3_ (const Point3_ &pt) | |
| Point3_ (Point3_ &&pt) CV_NOEXCEPT | |
| Point3_ (const Point_< _Tp > &pt) | |
| Point3_ (const Vec< _Tp, 3 > &v) | |
| Point3_ & | operator= (const Point3_ &pt) |
| Point3_ & | operator= (Point3_ &&pt) CV_NOEXCEPT |
| template<typename _Tp2 > | |
| operator Point3_< _Tp2 > () const | |
| conversion to another data type | |
| operator Vec< _Tp, 3 > () const | |
| conversion to cv::Vec<> | |
| _Tp | dot (const Point3_ &pt) const |
| dot product | |
| double | ddot (const Point3_ &pt) const |
| dot product computed in double-precision arithmetics | |
| Point3_ | cross (const Point3_ &pt) const |
| cross product of the 2 3D points | |
公開変数類 | |
| _Tp | x |
| x coordinate of the 3D point | |
| _Tp | y |
| y coordinate of the 3D point | |
| _Tp | z |
| z coordinate of the 3D point | |
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: