|  | Artec 3D Scanning SDK
    2.0
    | 
2-dimensional point class. More...
#include <artec/sdk/base/Point.h>
| Public Types | |
| typedef T | value_type | 
| Public Member Functions | |
| Point2 () | |
| Constructor. Empty for fast point array allocation.  More... | |
| Point2 (T tx, T ty) | |
| Point2 (const Point2 &ot) | |
| Copying constructor.  More... | |
| Point2 & | operator= (const Point2 &ot) | 
| Assignment operator.  More... | |
| Point2 (const Point3< T > &ot) | |
| Point3 conversion.  More... | |
| Point2 & | operator= (const Point3< T > &ot) | 
| Point2 (const Point4< T > &ot) | |
| Point4 conversion.  More... | |
| Point2 & | operator= (const Point4< T > &ot) | 
| template<typename T2 > | |
| Point2 (const Point2< T2 > &ot) | |
| Type conversion.  More... | |
| Point2 | 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 the Euclidean norm.  More... | |
| Point2 | normalized () const | 
| bool | isZero () const | 
| "Zero" checking  More... | |
| void | reset () | 
| Reset values to default.  More... | |
| template<typename T2 > | |
| Point2< T > & | operator+= (const T2 &val) | 
| template<typename T2 > | |
| Point2< T > & | operator-= (const T2 &val) | 
| template<typename T2 > | |
| Point2< T > & | operator*= (const T2 &val) | 
| template<typename T2 > | |
| Point2< T > & | operator/= (const T2 &val) | 
| template<typename T2 > | |
| Point2< T > | operator+ (const T2 &val) const | 
| template<typename T2 > | |
| Point2< T > | operator- (const T2 &val) const | 
| template<typename T2 > | |
| Point2< T > | operator* (const T2 &val) const | 
| template<typename T2 > | |
| Point2< T > | operator/ (const T2 &val) const | 
| Point2 & | operator+= (const Point2 &ot) | 
| Point2 & | operator-= (const Point2 &ot) | 
| Point2 & | operator*= (const Point2 &ot) | 
| Point2 & | operator/= (const Point2 &ot) | 
| Point2 | operator+ (const Point2 &p2) const | 
| Point2 | operator- (const Point2 &p2) const | 
| Point2 | operator* (const Point2 &p2) const | 
| Point2 | operator/ (const Point2 &p2) const | 
| bool | operator== (const Point2 &p2) const | 
| bool | operator!= (const Point2 &p2) const | 
| bool | operator> (const Point2 &p2) const | 
| bool | operator>= (const Point2 &p2) const | 
| bool | operator< (const Point2 &p2) const | 
| bool | operator<= (const Point2 &p2) const | 
| Static Public Member Functions | |
| static T | dot (const Point2< T > &p1, const Point2< T > &p2) | 
| Inner product operator.  More... | |
| Public Attributes | |
| union { | |
| struct { | |
| T x | |
| T y | |
| } | |
| T data [2] | |
| }; | |
| Point data.  More... | |
| Static Public Attributes | |
| static const int | size_ = 2 | 
2-dimensional point class.
Coordinates are of type T.
| typedef T artec::sdk::base::Point2< T >::value_type | 
| 
 | inlineexplicit | 
| 
 | inlineexplicit | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inlineexplicit | 
| 
 | inlinestatic | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| union { ... } | 
Point data.
| T artec::sdk::base::Point2< T >::data[2] | 
| 
 | static | 
| T artec::sdk::base::Point2< T >::x | 
| T artec::sdk::base::Point2< T >::y | 
 1.8.9.1
 1.8.9.1