Public Types |
Public Member Functions |
Static Public Member Functions |
Public Attributes |
Static Public Attributes |
List of all members
artec::sdk::base::Point3< T > Class Template Reference
#include <artec/sdk/base/Point.h>
Public Types | |
| typedef T | value_type |
Public Member Functions | |
| Point3 () | |
| Constructor. Empty for fast points array allocation. More... | |
| Point3 (T tx, T ty, T tz) | |
| Point3 (const Point3 &ot) | |
| Copying constructor. More... | |
| Point3 & | operator= (const Point3 &ot) |
| Assignment operator. More... | |
| Point3 (const Point2< T > &ot) | |
| Point2 conversion. More... | |
| Point3 & | operator= (const Point2< T > &ot) |
| Point3 (const Point4< T > &ot) | |
| Point4 conversion. More... | |
| Point3 & | operator= (const Point4< T > &ot) |
| template<typename T2 > | |
| Point3 (const Point3< T2 > &ot) | |
| Type conversion. More... | |
| Point3 | operator- () const |
| Unary minus. More... | |
| operator T * () | |
| Conversion to plain form operator. More... | |
| operator const T * () const | |
| double | length () const |
| Length of point. More... | |
| double | lengthSquared () const |
| Square of length of point. More... | |
| void | normalize () |
| normalizing to unit vector in euclidean norm More... | |
| Point3 | normalized () const |
| bool | isZero () const |
| Zero checking. More... | |
| void | reset () |
| Reset values to default. More... | |
| template<typename T2 > | |
| Point3< T > & | operator+= (const T2 &val) |
| template<typename T2 > | |
| Point3< T > & | operator-= (const T2 &val) |
| template<typename T2 > | |
| Point3< T > & | operator*= (const T2 &val) |
| template<typename T2 > | |
| Point3< T > & | operator/= (const T2 &val) |
| template<typename T2 > | |
| Point3< T > | operator+ (const T2 &val) const |
| template<typename T2 > | |
| Point3< T > | operator- (const T2 &val) const |
| template<typename T2 > | |
| Point3< T > | operator* (const T2 &val) const |
| template<typename T2 > | |
| Point3< T > | operator/ (const T2 &val) const |
| Point3 & | operator+= (const Point3 &ot) |
| Point3 & | operator-= (const Point3 &ot) |
| Point3 & | operator*= (const Point3 &ot) |
| Point3 & | operator/= (const Point3 &ot) |
| Point3 | operator+ (const Point3 &p2) const |
| Point3 | operator- (const Point3 &p2) const |
| Point3 | operator* (const Point3 &p2) const |
| Point3 | operator/ (const Point3 &p2) const |
| bool | operator== (const Point3 &p2) const |
| bool | operator!= (const Point3 &p2) const |
| bool | operator> (const Point3 &p2) const |
| bool | operator>= (const Point3 &p2) const |
| bool | operator< (const Point3 &p2) const |
| bool | operator<= (const Point3 &p2) const |
Static Public Member Functions | |
| static T | dot (const Point3< T > &p1, const Point3< T > &p2) |
| Inner product operator. More... | |
| static Point3< T > | cross (const Point3< T > &p1, const Point3< T > &p2) |
| Cross product of two points. More... | |
Public Attributes | |
| union { | |
| struct { | |
| T x | |
| T y | |
| T z | |
| } | |
| T data [3] | |
| }; | |
| point data More... | |
Static Public Attributes | |
| static const int | size_ = 3 |
Detailed Description
template<typename T>
class artec::sdk::base::Point3< T >
3-dimensional point class. Coordinates are of type T.
Member Typedef Documentation
template<typename T>
| typedef T artec::sdk::base::Point3< T >::value_type |
Constructor & Destructor Documentation
template<typename T>
|
inlineexplicit |
template<typename T>
|
inlineexplicit |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
template<typename T2 >
|
inlineexplicit |
Member Function Documentation
template<typename T>
|
inlinestatic |
template<typename T>
|
inlinestatic |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
template<typename T2 >
|
inline |
template<typename T>
|
inline |
template<typename T>
template<typename T2 >
|
inline |
template<typename T>
|
inline |
template<typename T>
template<typename T2 >
|
inline |
template<typename T>
|
inline |
template<typename T>
template<typename T2 >
|
inline |
template<typename T>
|
inline |
template<typename T>
template<typename T2 >
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
template<typename T2 >
|
inline |
template<typename T>
|
inline |
template<typename T>
template<typename T2 >
|
inline |
template<typename T>
|
inline |
template<typename T>
template<typename T2 >
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
Member Data Documentation
| union { ... } |
point data
template<typename T>
| T artec::sdk::base::Point3< T >::data[3] |
template<typename T>
|
static |
template<typename T>
| T artec::sdk::base::Point3< T >::x |
template<typename T>
| T artec::sdk::base::Point3< T >::y |
template<typename T>
| T artec::sdk::base::Point3< T >::z |
The documentation for this class was generated from the following file:
- artec/sdk/base/Point.h
