Template class for 3D points specified by its coordinates x, y and z.
More...
#include <opencv2/core/types.hpp>
|
| _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<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:
- See Also
- cv::Point3i, cv::Point3f and cv::Point3d
- Examples:
- samples/cpp/cout_mat.cpp, samples/cpp/tutorial_code/features2D/Homography/decompose_homography.cpp, samples/cpp/tutorial_code/features2D/Homography/homography_from_camera_displacement.cpp, and samples/cpp/tutorial_code/features2D/Homography/pose_from_homography.cpp.
cross product of the 2 3D points
dot product computed in double-precision arithmetics
template<typename _Tp>
template<typename _Tp2 >
conversion to another data type
x coordinate of the 3D point
y coordinate of the 3D point
z coordinate of the 3D point
The documentation for this class was generated from the following file: