Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of gr-peach-opencv-project-sd-card by
Point3_< _Tp > Class Template Reference
[Basic structures]
Template class for 3D points specified by its coordinates `x`, `y` and `z`. More...
#include <types.hpp>
Public Member Functions | |
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 |
Detailed Description
template<typename _Tp>
class cv::Point3_< _Tp >
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;
- See also:
- cv::Point3i, cv::Point3f and cv::Point3d
Definition at line 218 of file types.hpp.
Member Function Documentation
double ddot | ( | const Point3_< _Tp > & | pt ) | const |
dot product computed in double-precision arithmetics
_Tp dot | ( | const Point3_< _Tp > & | pt ) | const |
dot product
operator Point3_< _Tp2 > | ( | ) | const |
conversion to another data type
operator Vec< _Tp, 3 > | ( | ) | const |
conversion to cv::Vec<>
Generated on Tue Jul 12 2022 14:48:01 by
