IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Member Functions | Public Attributes | List of all members
ipsdk::geom::Point2dData< T > Struct Template Reference

Lightweight structure used to store Point2d data. More...

#include <Point2dData.h>

Public Member Functions

void setCoords (const T x, const T y)
 set coordinates associated to point 2d
 
Constructors and destructor
 Point2dData ()
 
 Point2dData (const T x, const T y)
 
 Point2dData (const Point2dData &pt)
 
 ~Point2dData ()
 
Point2dDataoperator+= (const Point2dData &pt)
 arithmetic operators on point More...
 
Point2dData operator+ (const Point2dData &pt) const
 arithmetic operators on point More...
 
Point2dDataoperator+= (const T value)
 arithmetic operators on point More...
 
Point2dData operator+ (const T value) const
 arithmetic operators on point More...
 
Point2dDataoperator-= (const Point2dData &pt)
 arithmetic operators on point More...
 
Point2dData operator- (const Point2dData &pt) const
 arithmetic operators on point More...
 
Point2dDataoperator-= (const T value)
 arithmetic operators on point More...
 
Point2dData operator- (const T value) const
 arithmetic operators on point More...
 
Point2dDataoperator*= (const Point2dData &pt)
 arithmetic operators on point More...
 
Point2dData operator* (const Point2dData &pt) const
 arithmetic operators on point More...
 
Point2dDataoperator*= (const ipReal64 value)
 arithmetic operators on point More...
 
Point2dData operator* (const ipReal64 value) const
 arithmetic operators on point More...
 
Point2dDataoperator/= (const Point2dData &pt)
 arithmetic operators on point More...
 
Point2dData operator/ (const Point2dData &pt) const
 arithmetic operators on point More...
 
Point2dDataoperator/= (const ipReal64 value)
 arithmetic operators on point More...
 
Point2dData operator/ (const ipReal64 value) const
 arithmetic operators on point More...
 

Public Attributes

_x
 x coordinate of point
 
_y
 y coordinate of point
 

Detailed Description

template<typename T>
struct ipsdk::geom::Point2dData< T >

Lightweight structure used to store Point2d data.

Author
E.Noirfalise
Date
2015/06/09

Member Function Documentation

◆ operator+=() [1/2]

template<typename T >
Point2dData< T > & ipsdk::geom::Point2dData< T >::operator+= ( const Point2dData< T > &  pt)
inline

arithmetic operators on point

Note
value version applied on each coordinate of a point.

◆ operator+() [1/2]

template<typename T >
Point2dData< T > ipsdk::geom::Point2dData< T >::operator+ ( const Point2dData< T > &  pt) const
inline

arithmetic operators on point

Note
value version applied on each coordinate of a point.

◆ operator+=() [2/2]

template<typename T>
Point2dData< T > & ipsdk::geom::Point2dData< T >::operator+= ( const T  value)
inline

arithmetic operators on point

Note
value version applied on each coordinate of a point.

◆ operator+() [2/2]

template<typename T>
Point2dData< T > ipsdk::geom::Point2dData< T >::operator+ ( const T  value) const
inline

arithmetic operators on point

Note
value version applied on each coordinate of a point.

◆ operator-=() [1/2]

template<typename T >
Point2dData< T > & ipsdk::geom::Point2dData< T >::operator-= ( const Point2dData< T > &  pt)
inline

arithmetic operators on point

Note
value version applied on each coordinate of a point.

◆ operator-() [1/2]

template<typename T >
Point2dData< T > ipsdk::geom::Point2dData< T >::operator- ( const Point2dData< T > &  pt) const
inline

arithmetic operators on point

Note
value version applied on each coordinate of a point.

◆ operator-=() [2/2]

template<typename T>
Point2dData< T > & ipsdk::geom::Point2dData< T >::operator-= ( const T  value)
inline

arithmetic operators on point

Note
value version applied on each coordinate of a point.

◆ operator-() [2/2]

template<typename T>
Point2dData< T > ipsdk::geom::Point2dData< T >::operator- ( const T  value) const
inline

arithmetic operators on point

Note
value version applied on each coordinate of a point.

◆ operator*=() [1/2]

template<typename T >
Point2dData< T > & ipsdk::geom::Point2dData< T >::operator*= ( const Point2dData< T > &  pt)
inline

arithmetic operators on point

Note
value version applied on each coordinate of a point.

◆ operator*() [1/2]

template<typename T >
Point2dData< T > ipsdk::geom::Point2dData< T >::operator* ( const Point2dData< T > &  pt) const
inline

arithmetic operators on point

Note
value version applied on each coordinate of a point.

◆ operator*=() [2/2]

template<typename T >
Point2dData< T > & ipsdk::geom::Point2dData< T >::operator*= ( const ipReal64  value)
inline

arithmetic operators on point

Note
value version applied on each coordinate of a point.

◆ operator*() [2/2]

template<typename T >
Point2dData< T > ipsdk::geom::Point2dData< T >::operator* ( const ipReal64  value) const
inline

arithmetic operators on point

Note
value version applied on each coordinate of a point.

◆ operator/=() [1/2]

template<typename T >
Point2dData< T > & ipsdk::geom::Point2dData< T >::operator/= ( const Point2dData< T > &  pt)
inline

arithmetic operators on point

Note
value version applied on each coordinate of a point.

◆ operator/() [1/2]

template<typename T >
Point2dData< T > ipsdk::geom::Point2dData< T >::operator/ ( const Point2dData< T > &  pt) const
inline

arithmetic operators on point

Note
value version applied on each coordinate of a point.

◆ operator/=() [2/2]

template<typename T >
Point2dData< T > & ipsdk::geom::Point2dData< T >::operator/= ( const ipReal64  value)
inline

arithmetic operators on point

Note
value version applied on each coordinate of a point.

◆ operator/() [2/2]

template<typename T >
Point2dData< T > ipsdk::geom::Point2dData< T >::operator/ ( const ipReal64  value) const
inline

arithmetic operators on point

Note
value version applied on each coordinate of a point.

The documentation for this struct was generated from the following files: