|
nndeploy C++ API
0.2.0
nndeploy C++ API
|
Template class for 3D points specified by its coordinates x_, y_ and z_.
More...
#include <type.h>
Public Types | |
| typedef T | value_type |
Public Member Functions | |
| Point3 | cross (const Point3 &pt) const |
| cross product of the 2 3D points More... | |
| double | ddot (const Point3 &pt) const |
| dot product computed in double-precision arithmetics More... | |
| T | dot (const Point3 &pt) const |
| dot product More... | |
| template<typename Tp2 > | |
| operator Point3< Tp2 > () const | |
| conversion to another data type More... | |
| Point3 & | operator= (const Point3 &pt)=default |
| Point3 & | operator= (Point3 &&pt)=default |
| Point3 () | |
| default constructor More... | |
| Point3 (const Point3 &pt)=default | |
| Point3 (const Point< T > &pt) | |
| Point3 (Point3 &&pt)=default | |
| Point3 (T x, T y, T z) | |
Public Attributes | |
| T | x_ |
| x_ coordinate of the 3D point More... | |
| T | y_ |
| y_ coordinate of the 3D point More... | |
| T | z_ |
| z_ coordinate of the 3D point More... | |
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 T nndeploy::base::Point3< T >::value_type |
|
inline |
|
inline |
|
default |
|
default |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
default |
| T nndeploy::base::Point3< T >::x_ |
| T nndeploy::base::Point3< T >::y_ |
| T nndeploy::base::Point3< T >::z_ |