FLImaging 7.6.11.1
FLImaging::Base::TPoint< T > Class Template Reference

Simplified class representing a point. More...

#include <TPoint.h>

Public Member Functions

 TPoint ()
 default constructor
 TPoint (const TPoint< int8_t > &tp)
 Copy constructor.
 TPoint (const TPoint< int8_t > *pTp)
 Copy constructor.
 TPoint (const TPoint< uint8_t > &tp)
 Copy constructor.
 TPoint (const TPoint< uint8_t > *pTp)
 Copy constructor.
 TPoint (const TPoint< int16_t > &tp)
 Copy constructor.
 TPoint (const TPoint< int16_t > *pTp)
 Copy constructor.
 TPoint (const TPoint< uint16_t > &tp)
 Copy constructor.
 TPoint (const TPoint< uint16_t > *pTp)
 Copy constructor.
 TPoint (const TPoint< int32_t > &tp)
 Copy constructor.
 TPoint (const TPoint< int32_t > *pTp)
 Copy constructor.
 TPoint (const TPoint< uint32_t > &tp)
 Copy constructor.
 TPoint (const TPoint< uint32_t > *pTp)
 Copy constructor.
 TPoint (const TPoint< int64_t > &tp)
 Copy constructor.
 TPoint (const TPoint< int64_t > *pTp)
 Copy constructor.
 TPoint (const TPoint< uint64_t > &tp)
 Copy constructor.
 TPoint (const TPoint< uint64_t > *pTp)
 Copy constructor.
 TPoint (const TPoint< float > &tp)
 Copy constructor.
 TPoint (const TPoint< float > *pTp)
 Copy constructor.
 TPoint (const TPoint< double > &tp)
 Copy constructor.
 TPoint (const TPoint< double > *pTp)
 Copy constructor.
 TPoint (int8_t x, int8_t y)
 Initializer constructor.
 TPoint (uint8_t x, uint8_t y)
 Initializer constructor.
 TPoint (int16_t x, int16_t y)
 Initializer constructor.
 TPoint (uint16_t x, uint16_t y)
 Initializer constructor.
 TPoint (int32_t x, int32_t y)
 Initializer constructor.
 TPoint (uint32_t x, uint32_t y)
 Initializer constructor.
 TPoint (int64_t x, int64_t y)
 Initializer constructor.
 TPoint (uint64_t x, uint64_t y)
 Initializer constructor.
 TPoint (float x, float y)
 Initializer constructor.
 TPoint (double x, double y)
 Initializer constructor.
void Set (const TPoint< int8_t > &tp)
 Sets the coordinates from the specified point.
void Set (const TPoint< int8_t > *pTp)
 Sets the coordinates from the specified point.
void Set (const TPoint< uint8_t > &tp)
 Sets the coordinates from the specified point.
void Set (const TPoint< uint8_t > *pTp)
 Sets the coordinates from the specified point.
void Set (const TPoint< int16_t > &tp)
 Sets the coordinates from the specified point.
void Set (const TPoint< int16_t > *pTp)
 Sets the coordinates from the specified point.
void Set (const TPoint< uint16_t > &tp)
 Sets the coordinates from the specified point.
void Set (const TPoint< uint16_t > *pTp)
 Sets the coordinates from the specified point.
void Set (const TPoint< int32_t > &tp)
 Sets the coordinates from the specified point.
void Set (const TPoint< int32_t > *pTp)
 Sets the coordinates from the specified point.
void Set (const TPoint< uint32_t > &tp)
 Sets the coordinates from the specified point.
void Set (const TPoint< uint32_t > *pTp)
 Sets the coordinates from the specified point.
void Set (const TPoint< int64_t > &tp)
 Sets the coordinates from the specified point.
void Set (const TPoint< int64_t > *pTp)
 Sets the coordinates from the specified point.
void Set (const TPoint< uint64_t > &tp)
 Sets the coordinates from the specified point.
void Set (const TPoint< uint64_t > *pTp)
 Sets the coordinates from the specified point.
void Set (const TPoint< float > &tp)
 Sets the coordinates from the specified point.
void Set (const TPoint< float > *pTp)
 Sets the coordinates from the specified point.
void Set (const TPoint< double > &tp)
 Sets the coordinates from the specified point.
void Set (const TPoint< double > *pTp)
 Sets the coordinates from the specified point.
void Set (int8_t x, int8_t y)
 Sets the coordinates.
void Set (uint8_t x, uint8_t y)
 Sets the coordinates.
void Set (int16_t x, int16_t y)
 Sets the coordinates.
void Set (uint16_t x, uint16_t y)
 Sets the coordinates.
void Set (int32_t x, int32_t y)
 Sets the coordinates.
void Set (uint32_t x, uint32_t y)
 Sets the coordinates.
void Set (int64_t x, int64_t y)
 Sets the coordinates.
void Set (uint64_t x, uint64_t y)
 Sets the coordinates.
void Set (float x, float y)
 Sets the coordinates.
void Set (double x, double y)
 Sets the coordinates.
const TPoint< T > & operator= (int32_t value)
 Assignment operator.
const TPoint< T > & operator= (int64_t value)
 Assignment operator.
const TPoint< T > & operator= (float value)
 Assignment operator.
const TPoint< T > & operator= (double value)
 Assignment operator.
const TPoint< T > & operator= (const TPoint< int32_t > &tp)
 Assignment operator.
const TPoint< T > & operator= (const TPoint< int64_t > &tp)
 Assignment operator.
const TPoint< T > & operator= (const TPoint< float > &tp)
 Assignment operator.
const TPoint< T > & operator= (const TPoint< double > &tp)
 Assignment operator.
bool operator== (const TPoint< int32_t > &tp) const
 Equality operator.
bool operator== (const TPoint< int64_t > &tp) const
 Equality operator.
bool operator== (const TPoint< float > &tp) const
 Equality operator.
bool operator== (const TPoint< double > &tp) const
 Equality operator.
bool operator!= (const TPoint< int32_t > &tp) const
 Inequality operator.
bool operator!= (const TPoint< int64_t > &tp) const
 Inequality operator.
bool operator!= (const TPoint< float > &tp) const
 Inequality operator.
bool operator!= (const TPoint< double > &tp) const
 Inequality operator.
const TPoint< T > & operator+= (int32_t value)
 Addition assignment operator.
const TPoint< T > & operator+= (int64_t value)
 Addition assignment operator.
const TPoint< T > & operator+= (float value)
 Addition assignment operator.
const TPoint< T > & operator+= (double value)
 Addition assignment operator.
const TPoint< T > & operator+= (const TPoint< int32_t > &tp)
 Addition assignment operator.
const TPoint< T > & operator+= (const TPoint< int64_t > &tp)
 Addition assignment operator.
const TPoint< T > & operator+= (const TPoint< float > &tp)
 Addition assignment operator.
const TPoint< T > & operator+= (const TPoint< double > &tp)
 Addition assignment operator.
const TPoint< T > & operator-= (int32_t value)
 Subtraction assignment operator.
const TPoint< T > & operator-= (int64_t value)
 Subtraction assignment operator.
const TPoint< T > & operator-= (float value)
 Subtraction assignment operator.
const TPoint< T > & operator-= (double value)
 Subtraction assignment operator.
const TPoint< T > & operator-= (const TPoint< int32_t > &tp)
 Subtraction assignment operator.
const TPoint< T > & operator-= (const TPoint< int64_t > &tp)
 Subtraction assignment operator.
const TPoint< T > & operator-= (const TPoint< float > &tp)
 Subtraction assignment operator.
const TPoint< T > & operator-= (const TPoint< double > &tp)
 Subtraction assignment operator.
const TPoint< T > & operator*= (int32_t value)
 Multiplication assignment operator.
const TPoint< T > & operator*= (int64_t value)
 Multiplication assignment operator.
const TPoint< T > & operator*= (float value)
 Multiplication assignment operator.
const TPoint< T > & operator*= (double value)
 Multiplication assignment operator.
const TPoint< T > & operator*= (const TPoint< int32_t > &tp)
 Multiplication assignment operator.
const TPoint< T > & operator*= (const TPoint< int64_t > &tp)
 Multiplication assignment operator.
const TPoint< T > & operator*= (const TPoint< float > &tp)
 Multiplication assignment operator.
const TPoint< T > & operator*= (const TPoint< double > &tp)
 Multiplication assignment operator.
const TPoint< T > & operator/= (int32_t value)
 Division assignment operator.
const TPoint< T > & operator/= (int64_t value)
 Division assignment operator.
const TPoint< T > & operator/= (float value)
 Division assignment operator.
const TPoint< T > & operator/= (double value)
 Division assignment operator.
const TPoint< T > & operator/= (const TPoint< int32_t > &tp)
 Division assignment operator.
const TPoint< T > & operator/= (const TPoint< int64_t > &tp)
 Division assignment operator.
const TPoint< T > & operator/= (const TPoint< float > &tp)
 Division assignment operator.
const TPoint< T > & operator/= (const TPoint< double > &tp)
 Division assignment operator.
TPoint< T > operator+ (int32_t value) const
 Addition operator.
TPoint< T > operator+ (int64_t value) const
 Addition operator.
TPoint< T > operator+ (float value) const
 Addition operator.
TPoint< T > operator+ (double value) const
 Addition operator.
TPoint< T > operator+ (const TPoint< int32_t > &tp) const
 Addition operator.
TPoint< T > operator+ (const TPoint< int64_t > &tp) const
 Addition operator.
TPoint< T > operator+ (const TPoint< float > &tp) const
 Addition operator.
TPoint< T > operator+ (const TPoint< double > &tp) const
 Addition operator.
TPoint< T > operator- (int32_t value) const
 Subtraction operator.
TPoint< T > operator- (int64_t value) const
 Subtraction operator.
TPoint< T > operator- (float value) const
 Subtraction operator.
TPoint< T > operator- (double value) const
 Subtraction operator.
TPoint< T > operator- (const TPoint< int32_t > &tp) const
 Subtraction operator.
TPoint< T > operator- (const TPoint< int64_t > &tp) const
 Subtraction operator.
TPoint< T > operator- (const TPoint< float > &tp) const
 Subtraction operator.
TPoint< T > operator- (const TPoint< double > &tp) const
 Subtraction operator.
TPoint< T > operator* (int32_t value) const
 Multiplication operator.
TPoint< T > operator* (int64_t value) const
 Multiplication operator.
TPoint< T > operator* (float value) const
 Multiplication operator.
TPoint< T > operator* (double value) const
 Multiplication operator.
TPoint< T > operator* (const TPoint< int32_t > &tp) const
 Multiplication operator.
TPoint< T > operator* (const TPoint< int64_t > &tp) const
 Multiplication operator.
TPoint< T > operator* (const TPoint< float > &tp) const
 Multiplication operator.
TPoint< T > operator* (const TPoint< double > &tp) const
 Multiplication operator.
TPoint< T > operator/ (int32_t value) const
 Division operator.
TPoint< T > operator/ (int64_t value) const
 Division operator.
TPoint< T > operator/ (float value) const
 Division operator.
TPoint< T > operator/ (double value) const
 Division operator.
TPoint< T > operator/ (const TPoint< int32_t > &tp) const
 Division operator.
TPoint< T > operator/ (const TPoint< int64_t > &tp) const
 Division operator.
TPoint< T > operator/ (const TPoint< float > &tp) const
 Division operator.
TPoint< T > operator/ (const TPoint< double > &tp) const
 Division operator.

Public Attributes

x
y

Friends

TPoint< T > operator+ (int32_t value, const TPoint< T > &tp)
 Addition operator.
TPoint< T > operator+ (int64_t value, const TPoint< T > &tp)
 Addition operator.
TPoint< T > operator+ (float value, const TPoint< T > &tp)
 Addition operator.
TPoint< T > operator+ (double value, const TPoint< T > &tp)
 Addition operator.
TPoint< T > operator- (int32_t value, const TPoint< T > &tp)
 Subtraction operator.
TPoint< T > operator- (int64_t value, const TPoint< T > &tp)
 Subtraction operator.
TPoint< T > operator- (float value, const TPoint< T > &tp)
 Subtraction operator.
TPoint< T > operator- (double value, const TPoint< T > &tp)
 Subtraction operator.
TPoint< T > operator* (int32_t value, const TPoint< T > &tp)
 Multiplication operator.
TPoint< T > operator* (int64_t value, const TPoint< T > &tp)
 Multiplication operator.
TPoint< T > operator* (float value, const TPoint< T > &tp)
 Multiplication operator.
TPoint< T > operator* (double value, const TPoint< T > &tp)
 Multiplication operator.
TPoint< T > operator/ (int32_t value, const TPoint< T > &tp)
 Division operator.
TPoint< T > operator/ (int64_t value, const TPoint< T > &tp)
 Division operator.
TPoint< T > operator/ (float value, const TPoint< T > &tp)
 Division operator.
TPoint< T > operator/ (double value, const TPoint< T > &tp)
 Division operator.

Detailed Description

template<typename T>
class FLImaging::Base::TPoint< T >

Simplified class representing a point.

The default constructor does not initialize member variables for performance.

Constructor & Destructor Documentation

◆ TPoint() [1/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( const TPoint< int8_t > & tp)
inline

Copy constructor.

Parameters
[in]tpSource point object to copy

◆ TPoint() [2/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( const TPoint< int8_t > * pTp)
inline

Copy constructor.

Parameters
[in]pTpSource point object to copy

◆ TPoint() [3/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( const TPoint< uint8_t > & tp)
inline

Copy constructor.

Parameters
[in]tpSource point object to copy

◆ TPoint() [4/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( const TPoint< uint8_t > * pTp)
inline

Copy constructor.

Parameters
[in]pTpSource point object to copy

◆ TPoint() [5/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( const TPoint< int16_t > & tp)
inline

Copy constructor.

Parameters
[in]tpSource point object to copy

◆ TPoint() [6/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( const TPoint< int16_t > * pTp)
inline

Copy constructor.

Parameters
[in]pTpSource point object to copy

◆ TPoint() [7/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( const TPoint< uint16_t > & tp)
inline

Copy constructor.

Parameters
[in]tpSource point object to copy

◆ TPoint() [8/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( const TPoint< uint16_t > * pTp)
inline

Copy constructor.

Parameters
[in]pTpSource point object to copy

◆ TPoint() [9/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( const TPoint< int32_t > & tp)
inline

Copy constructor.

Parameters
[in]tpSource point object to copy

◆ TPoint() [10/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( const TPoint< int32_t > * pTp)
inline

Copy constructor.

Parameters
[in]pTpSource point object to copy

◆ TPoint() [11/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( const TPoint< uint32_t > & tp)
inline

Copy constructor.

Parameters
[in]tpSource point object to copy

◆ TPoint() [12/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( const TPoint< uint32_t > * pTp)
inline

Copy constructor.

Parameters
[in]pTpSource point object to copy

◆ TPoint() [13/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( const TPoint< int64_t > & tp)
inline

Copy constructor.

Parameters
[in]tpSource point object to copy

◆ TPoint() [14/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( const TPoint< int64_t > * pTp)
inline

Copy constructor.

Parameters
[in]pTpSource point object to copy

◆ TPoint() [15/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( const TPoint< uint64_t > & tp)
inline

Copy constructor.

Parameters
[in]tpSource point object to copy

◆ TPoint() [16/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( const TPoint< uint64_t > * pTp)
inline

Copy constructor.

Parameters
[in]pTpSource point object to copy

◆ TPoint() [17/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( const TPoint< float > & tp)
inline

Copy constructor.

Parameters
[in]tpSource point object to copy

◆ TPoint() [18/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( const TPoint< float > * pTp)
inline

Copy constructor.

Parameters
[in]pTpSource point object to copy

◆ TPoint() [19/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( const TPoint< double > & tp)
inline

Copy constructor.

Parameters
[in]tpSource point object to copy

◆ TPoint() [20/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( const TPoint< double > * pTp)
inline

Copy constructor.

Parameters
[in]pTpSource point object to copy

◆ TPoint() [21/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( int8_t x,
int8_t y )
inline

Initializer constructor.

Parameters
[in]xX-coordinate.
[in]yY-coordinate.

◆ TPoint() [22/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( uint8_t x,
uint8_t y )
inline

Initializer constructor.

Parameters
[in]xX-coordinate.
[in]yY-coordinate.

◆ TPoint() [23/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( int16_t x,
int16_t y )
inline

Initializer constructor.

Parameters
[in]xX-coordinate.
[in]yY-coordinate.

◆ TPoint() [24/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( uint16_t x,
uint16_t y )
inline

Initializer constructor.

Parameters
[in]xX-coordinate.
[in]yY-coordinate.

◆ TPoint() [25/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( int32_t x,
int32_t y )
inline

Initializer constructor.

Parameters
[in]xX-coordinate.
[in]yY-coordinate.

◆ TPoint() [26/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( uint32_t x,
uint32_t y )
inline

Initializer constructor.

Parameters
[in]xX-coordinate.
[in]yY-coordinate.

◆ TPoint() [27/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( int64_t x,
int64_t y )
inline

Initializer constructor.

Parameters
[in]xX-coordinate.
[in]yY-coordinate.

◆ TPoint() [28/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( uint64_t x,
uint64_t y )
inline

Initializer constructor.

Parameters
[in]xX-coordinate.
[in]yY-coordinate.

◆ TPoint() [29/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( float x,
float y )
inline

Initializer constructor.

Parameters
[in]xX-coordinate.
[in]yY-coordinate.

◆ TPoint() [30/30]

template<typename T>
FLImaging::Base::TPoint< T >::TPoint ( double x,
double y )
inline

Initializer constructor.

Parameters
[in]xX-coordinate.
[in]yY-coordinate.

Member Function Documentation

◆ operator!=() [1/4]

template<typename T>
bool FLImaging::Base::TPoint< T >::operator!= ( const TPoint< double > & tp) const
inline

Inequality operator.

Parameters
[in]tpPoint object to compare.
Return values
booltrue if the points are not equal; otherwise, false.

◆ operator!=() [2/4]

template<typename T>
bool FLImaging::Base::TPoint< T >::operator!= ( const TPoint< float > & tp) const
inline

Inequality operator.

Parameters
[in]tpPoint object to compare.
Return values
booltrue if the points are not equal; otherwise, false.

◆ operator!=() [3/4]

template<typename T>
bool FLImaging::Base::TPoint< T >::operator!= ( const TPoint< int32_t > & tp) const
inline

Inequality operator.

Parameters
[in]tpPoint object to compare.
Return values
booltrue if the points are not equal; otherwise, false.

◆ operator!=() [4/4]

template<typename T>
bool FLImaging::Base::TPoint< T >::operator!= ( const TPoint< int64_t > & tp) const
inline

Inequality operator.

Parameters
[in]tpPoint object to compare.
Return values
booltrue if the points are not equal; otherwise, false.

◆ operator*() [1/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator* ( const TPoint< double > & tp) const
inline

Multiplication operator.

Parameters
[in]tpPoint object whose coordinates will be multiplied.
Return values
TPoint<T>Resulting point object.

◆ operator*() [2/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator* ( const TPoint< float > & tp) const
inline

Multiplication operator.

Parameters
[in]tpPoint object whose coordinates will be multiplied.
Return values
TPoint<T>Resulting point object.

◆ operator*() [3/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator* ( const TPoint< int32_t > & tp) const
inline

Multiplication operator.

Parameters
[in]tpPoint object whose coordinates will be multiplied.
Return values
TPoint<T>Resulting point object.

◆ operator*() [4/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator* ( const TPoint< int64_t > & tp) const
inline

Multiplication operator.

Parameters
[in]tpPoint object whose coordinates will be multiplied.
Return values
TPoint<T>Resulting point object.

◆ operator*() [5/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator* ( double value) const
inline

Multiplication operator.

Parameters
[in]valueValue to multiply all coordinates by.
Return values
TPoint<T>Resulting point object.

◆ operator*() [6/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator* ( float value) const
inline

Multiplication operator.

Parameters
[in]valueValue to multiply all coordinates by.
Return values
TPoint<T>Resulting point object.

◆ operator*() [7/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator* ( int32_t value) const
inline

Multiplication operator.

Parameters
[in]valueValue to multiply all coordinates by.
Return values
TPoint<T>Resulting point object.

◆ operator*() [8/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator* ( int64_t value) const
inline

Multiplication operator.

Parameters
[in]valueValue to multiply all coordinates by.
Return values
TPoint<T>Resulting point object.

◆ operator*=() [1/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator*= ( const TPoint< double > & tp)
inline

Multiplication assignment operator.

Parameters
[in]tpPoint object whose coordinates will be multiplied.
Return values
constTPoint<T>& Reference to this point.

◆ operator*=() [2/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator*= ( const TPoint< float > & tp)
inline

Multiplication assignment operator.

Parameters
[in]tpPoint object whose coordinates will be multiplied.
Return values
constTPoint<T>& Reference to this point.

◆ operator*=() [3/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator*= ( const TPoint< int32_t > & tp)
inline

Multiplication assignment operator.

Parameters
[in]tpPoint object whose coordinates will be multiplied.
Return values
constTPoint<T>& Reference to this point.

◆ operator*=() [4/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator*= ( const TPoint< int64_t > & tp)
inline

Multiplication assignment operator.

Parameters
[in]tpPoint object whose coordinates will be multiplied.
Return values
constTPoint<T>& Reference to this point.

◆ operator*=() [5/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator*= ( double value)
inline

Multiplication assignment operator.

Parameters
[in]valueValue to multiply all coordinates by.
Return values
constTPoint<T>& Reference to this point.

◆ operator*=() [6/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator*= ( float value)
inline

Multiplication assignment operator.

Parameters
[in]valueValue to multiply all coordinates by.
Return values
constTPoint<T>& Reference to this point.

◆ operator*=() [7/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator*= ( int32_t value)
inline

Multiplication assignment operator.

Parameters
[in]valueValue to multiply all coordinates by.
Return values
constTPoint<T>& Reference to this point.

◆ operator*=() [8/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator*= ( int64_t value)
inline

Multiplication assignment operator.

Parameters
[in]valueValue to multiply all coordinates by.
Return values
constTPoint<T>& Reference to this point.

◆ operator+() [1/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator+ ( const TPoint< double > & tp) const
inline

Addition operator.

Parameters
[in]tpPoint object whose coordinates will be added.
Return values
TPoint<T>Resulting point object.

◆ operator+() [2/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator+ ( const TPoint< float > & tp) const
inline

Addition operator.

Parameters
[in]tpPoint object whose coordinates will be added.
Return values
TPoint<T>Resulting point object.

◆ operator+() [3/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator+ ( const TPoint< int32_t > & tp) const
inline

Addition operator.

Parameters
[in]tpPoint object whose coordinates will be added.
Return values
TPoint<T>Resulting point object.

◆ operator+() [4/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator+ ( const TPoint< int64_t > & tp) const
inline

Addition operator.

Parameters
[in]tpPoint object whose coordinates will be added.
Return values
TPoint<T>Resulting point object.

◆ operator+() [5/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator+ ( double value) const
inline

Addition operator.

Parameters
[in]valueValue to add to all coordinates.
Return values
TPoint<T>Resulting point object.

◆ operator+() [6/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator+ ( float value) const
inline

Addition operator.

Parameters
[in]valueValue to add to all coordinates.
Return values
TPoint<T>Resulting point object.

◆ operator+() [7/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator+ ( int32_t value) const
inline

Addition operator.

Parameters
[in]valueValue to add to all coordinates.
Return values
TPoint<T>Resulting point object.

◆ operator+() [8/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator+ ( int64_t value) const
inline

Addition operator.

Parameters
[in]valueValue to add to all coordinates.
Return values
TPoint<T>Resulting point object.

◆ operator+=() [1/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator+= ( const TPoint< double > & tp)
inline

Addition assignment operator.

Parameters
[in]tpPoint object whose coordinates will be added.
Return values
constTPoint<T>& Reference to this point.

◆ operator+=() [2/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator+= ( const TPoint< float > & tp)
inline

Addition assignment operator.

Parameters
[in]tpPoint object whose coordinates will be added.
Return values
constTPoint<T>& Reference to this point.

◆ operator+=() [3/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator+= ( const TPoint< int32_t > & tp)
inline

Addition assignment operator.

Parameters
[in]tpPoint object whose coordinates will be added.
Return values
constTPoint<T>& Reference to this point.

◆ operator+=() [4/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator+= ( const TPoint< int64_t > & tp)
inline

Addition assignment operator.

Parameters
[in]tpPoint object whose coordinates will be added.
Return values
constTPoint<T>& Reference to this point.

◆ operator+=() [5/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator+= ( double value)
inline

Addition assignment operator.

Parameters
[in]valueValue to add to all coordinates.
Return values
constTPoint<T>& Reference to this point.

◆ operator+=() [6/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator+= ( float value)
inline

Addition assignment operator.

Parameters
[in]valueValue to add to all coordinates.
Return values
constTPoint<T>& Reference to this point.

◆ operator+=() [7/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator+= ( int32_t value)
inline

Addition assignment operator.

Parameters
[in]valueValue to add to all coordinates.
Return values
constTPoint<T>& Reference to this point.

◆ operator+=() [8/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator+= ( int64_t value)
inline

Addition assignment operator.

Parameters
[in]valueValue to add to all coordinates.
Return values
constTPoint<T>& Reference to this point.

◆ operator-() [1/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator- ( const TPoint< double > & tp) const
inline

Subtraction operator.

Parameters
[in]tpPoint object whose coordinates will be subtracted.
Return values
TPoint<T>Resulting point object.

◆ operator-() [2/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator- ( const TPoint< float > & tp) const
inline

Subtraction operator.

Parameters
[in]tpPoint object whose coordinates will be subtracted.
Return values
TPoint<T>Resulting point object.

◆ operator-() [3/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator- ( const TPoint< int32_t > & tp) const
inline

Subtraction operator.

Parameters
[in]tpPoint object whose coordinates will be subtracted.
Return values
TPoint<T>Resulting point object.

◆ operator-() [4/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator- ( const TPoint< int64_t > & tp) const
inline

Subtraction operator.

Parameters
[in]tpPoint object whose coordinates will be subtracted.
Return values
TPoint<T>Resulting point object.

◆ operator-() [5/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator- ( double value) const
inline

Subtraction operator.

Parameters
[in]valueValue to subtract from all coordinates.
Return values
TPoint<T>Resulting point object.

◆ operator-() [6/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator- ( float value) const
inline

Subtraction operator.

Parameters
[in]valueValue to subtract from all coordinates.
Return values
TPoint<T>Resulting point object.

◆ operator-() [7/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator- ( int32_t value) const
inline

Subtraction operator.

Parameters
[in]valueValue to subtract from all coordinates.
Return values
TPoint<T>Resulting point object.

◆ operator-() [8/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator- ( int64_t value) const
inline

Subtraction operator.

Parameters
[in]valueValue to subtract from all coordinates.
Return values
TPoint<T>Resulting point object.

◆ operator-=() [1/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator-= ( const TPoint< double > & tp)
inline

Subtraction assignment operator.

Parameters
[in]tpPoint object whose coordinates will be subtracted.
Return values
constTPoint<T>& Reference to this point.

◆ operator-=() [2/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator-= ( const TPoint< float > & tp)
inline

Subtraction assignment operator.

Parameters
[in]tpPoint object whose coordinates will be subtracted.
Return values
constTPoint<T>& Reference to this point.

◆ operator-=() [3/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator-= ( const TPoint< int32_t > & tp)
inline

Subtraction assignment operator.

Parameters
[in]tpPoint object whose coordinates will be subtracted.
Return values
constTPoint<T>& Reference to this point.

◆ operator-=() [4/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator-= ( const TPoint< int64_t > & tp)
inline

Subtraction assignment operator.

Parameters
[in]tpPoint object whose coordinates will be subtracted.
Return values
constTPoint<T>& Reference to this point.

◆ operator-=() [5/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator-= ( double value)
inline

Subtraction assignment operator.

Parameters
[in]valueValue to subtract from all coordinates.
Return values
constTPoint<T>& Reference to this point.

◆ operator-=() [6/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator-= ( float value)
inline

Subtraction assignment operator.

Parameters
[in]valueValue to subtract from all coordinates.
Return values
constTPoint<T>& Reference to this point.

◆ operator-=() [7/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator-= ( int32_t value)
inline

Subtraction assignment operator.

Parameters
[in]valueValue to subtract from all coordinates.
Return values
constTPoint<T>& Reference to this point.

◆ operator-=() [8/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator-= ( int64_t value)
inline

Subtraction assignment operator.

Parameters
[in]valueValue to subtract from all coordinates.
Return values
constTPoint<T>& Reference to this point.

◆ operator/() [1/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator/ ( const TPoint< double > & tp) const
inline

Division operator.

Parameters
[in]tpPoint object whose coordinates will be divided.
Return values
TPoint<T>Resulting point object.

◆ operator/() [2/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator/ ( const TPoint< float > & tp) const
inline

Division operator.

Parameters
[in]tpPoint object whose coordinates will be divided.
Return values
TPoint<T>Resulting point object.

◆ operator/() [3/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator/ ( const TPoint< int32_t > & tp) const
inline

Division operator.

Parameters
[in]tpPoint object whose coordinates will be divided.
Return values
TPoint<T>Resulting point object.

◆ operator/() [4/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator/ ( const TPoint< int64_t > & tp) const
inline

Division operator.

Parameters
[in]tpPoint object whose coordinates will be divided.
Return values
TPoint<T>Resulting point object.

◆ operator/() [5/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator/ ( double value) const
inline

Division operator.

Parameters
[in]valueValue to divide all coordinates by.
Return values
TPoint<T>Resulting point object.

◆ operator/() [6/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator/ ( float value) const
inline

Division operator.

Parameters
[in]valueValue to divide all coordinates by.
Return values
TPoint<T>Resulting point object.

◆ operator/() [7/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator/ ( int32_t value) const
inline

Division operator.

Parameters
[in]valueValue to divide all coordinates by.
Return values
TPoint<T>Resulting point object.

◆ operator/() [8/8]

template<typename T>
TPoint< T > FLImaging::Base::TPoint< T >::operator/ ( int64_t value) const
inline

Division operator.

Parameters
[in]valueValue to divide all coordinates by.
Return values
TPoint<T>Resulting point object.

◆ operator/=() [1/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator/= ( const TPoint< double > & tp)
inline

Division assignment operator.

Parameters
[in]tpPoint object whose coordinates will be divided.
Return values
constTPoint<T>& Reference to this point.

◆ operator/=() [2/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator/= ( const TPoint< float > & tp)
inline

Division assignment operator.

Parameters
[in]tpPoint object whose coordinates will be divided.
Return values
constTPoint<T>& Reference to this point.

◆ operator/=() [3/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator/= ( const TPoint< int32_t > & tp)
inline

Division assignment operator.

Parameters
[in]tpPoint object whose coordinates will be divided.
Return values
constTPoint<T>& Reference to this point.

◆ operator/=() [4/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator/= ( const TPoint< int64_t > & tp)
inline

Division assignment operator.

Parameters
[in]tpPoint object whose coordinates will be divided.
Return values
constTPoint<T>& Reference to this point.

◆ operator/=() [5/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator/= ( double value)
inline

Division assignment operator.

Parameters
[in]valueValue to divide all coordinates by.
Return values
constTPoint<T>& Reference to this point.

◆ operator/=() [6/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator/= ( float value)
inline

Division assignment operator.

Parameters
[in]valueValue to divide all coordinates by.
Return values
constTPoint<T>& Reference to this point.

◆ operator/=() [7/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator/= ( int32_t value)
inline

Division assignment operator.

Parameters
[in]valueValue to divide all coordinates by.
Return values
constTPoint<T>& Reference to this point.

◆ operator/=() [8/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator/= ( int64_t value)
inline

Division assignment operator.

Parameters
[in]valueValue to divide all coordinates by.
Return values
constTPoint<T>& Reference to this point.

◆ operator=() [1/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator= ( const TPoint< double > & tp)
inline

Assignment operator.

Parameters
[in]tpSource point object to assign.
Return values
constTPoint<T>& Reference to this point.

◆ operator=() [2/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator= ( const TPoint< float > & tp)
inline

Assignment operator.

Parameters
[in]tpSource point object to assign.
Return values
constTPoint<T>& Reference to this point.

◆ operator=() [3/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator= ( const TPoint< int32_t > & tp)
inline

Assignment operator.

Parameters
[in]tpSource point object to assign.
Return values
constTPoint<T>& Reference to this point.

◆ operator=() [4/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator= ( const TPoint< int64_t > & tp)
inline

Assignment operator.

Parameters
[in]tpSource point object to assign.
Return values
constTPoint<T>& Reference to this point.

◆ operator=() [5/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator= ( double value)
inline

Assignment operator.

Parameters
[in]valueValue to assign to all coordinates.
Return values
constTPoint<T>& Reference to this point.

◆ operator=() [6/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator= ( float value)
inline

Assignment operator.

Parameters
[in]valueValue to assign to all coordinates.
Return values
constTPoint<T>& Reference to this point.

◆ operator=() [7/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator= ( int32_t value)
inline

Assignment operator.

Parameters
[in]valueValue to assign to all coordinates.
Return values
constTPoint<T>& Reference to this point.

◆ operator=() [8/8]

template<typename T>
const TPoint< T > & FLImaging::Base::TPoint< T >::operator= ( int64_t value)
inline

Assignment operator.

Parameters
[in]valueValue to assign to all coordinates.
Return values
constTPoint<T>& Reference to this point.

◆ operator==() [1/4]

template<typename T>
bool FLImaging::Base::TPoint< T >::operator== ( const TPoint< double > & tp) const
inline

Equality operator.

Parameters
[in]tpPoint object to compare.
Return values
booltrue if the points are equal; otherwise, false.

◆ operator==() [2/4]

template<typename T>
bool FLImaging::Base::TPoint< T >::operator== ( const TPoint< float > & tp) const
inline

Equality operator.

Parameters
[in]tpPoint object to compare.
Return values
booltrue if the points are equal; otherwise, false.

◆ operator==() [3/4]

template<typename T>
bool FLImaging::Base::TPoint< T >::operator== ( const TPoint< int32_t > & tp) const
inline

Equality operator.

Parameters
[in]tpPoint object to compare.
Return values
booltrue if the points are equal; otherwise, false.

◆ operator==() [4/4]

template<typename T>
bool FLImaging::Base::TPoint< T >::operator== ( const TPoint< int64_t > & tp) const
inline

Equality operator.

Parameters
[in]tpPoint object to compare.
Return values
booltrue if the points are equal; otherwise, false.

◆ Set() [1/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( const TPoint< double > & tp)
inline

Sets the coordinates from the specified point.

Parameters
[in]tpSource point object.

◆ Set() [2/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( const TPoint< double > * pTp)
inline

Sets the coordinates from the specified point.

Parameters
[in]pTpPointer to the source point object.

◆ Set() [3/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( const TPoint< float > & tp)
inline

Sets the coordinates from the specified point.

Parameters
[in]tpSource point object.

◆ Set() [4/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( const TPoint< float > * pTp)
inline

Sets the coordinates from the specified point.

Parameters
[in]pTpPointer to the source point object.

◆ Set() [5/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( const TPoint< int16_t > & tp)
inline

Sets the coordinates from the specified point.

Parameters
[in]tpSource point object.

◆ Set() [6/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( const TPoint< int16_t > * pTp)
inline

Sets the coordinates from the specified point.

Parameters
[in]pTpPointer to the source point object.

◆ Set() [7/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( const TPoint< int32_t > & tp)
inline

Sets the coordinates from the specified point.

Parameters
[in]tpSource point object.

◆ Set() [8/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( const TPoint< int32_t > * pTp)
inline

Sets the coordinates from the specified point.

Parameters
[in]pTpPointer to the source point object.

◆ Set() [9/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( const TPoint< int64_t > & tp)
inline

Sets the coordinates from the specified point.

Parameters
[in]tpSource point object.

◆ Set() [10/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( const TPoint< int64_t > * pTp)
inline

Sets the coordinates from the specified point.

Parameters
[in]pTpPointer to the source point object.

◆ Set() [11/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( const TPoint< int8_t > & tp)
inline

Sets the coordinates from the specified point.

Parameters
[in]tpSource point object.

◆ Set() [12/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( const TPoint< int8_t > * pTp)
inline

Sets the coordinates from the specified point.

Parameters
[in]pTpPointer to the source point object.

◆ Set() [13/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( const TPoint< uint16_t > & tp)
inline

Sets the coordinates from the specified point.

Parameters
[in]tpSource point object.

◆ Set() [14/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( const TPoint< uint16_t > * pTp)
inline

Sets the coordinates from the specified point.

Parameters
[in]pTpPointer to the source point object.

◆ Set() [15/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( const TPoint< uint32_t > & tp)
inline

Sets the coordinates from the specified point.

Parameters
[in]tpSource point object.

◆ Set() [16/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( const TPoint< uint32_t > * pTp)
inline

Sets the coordinates from the specified point.

Parameters
[in]pTpPointer to the source point object.

◆ Set() [17/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( const TPoint< uint64_t > & tp)
inline

Sets the coordinates from the specified point.

Parameters
[in]tpSource point object.

◆ Set() [18/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( const TPoint< uint64_t > * pTp)
inline

Sets the coordinates from the specified point.

Parameters
[in]pTpPointer to the source point object.

◆ Set() [19/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( const TPoint< uint8_t > & tp)
inline

Sets the coordinates from the specified point.

Parameters
[in]tpSource point object.

◆ Set() [20/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( const TPoint< uint8_t > * pTp)
inline

Sets the coordinates from the specified point.

Parameters
[in]pTpPointer to the source point object.

◆ Set() [21/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( double x,
double y )
inline

Sets the coordinates.

Parameters
[in]xX-coordinate.
[in]yY-coordinate.

◆ Set() [22/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( float x,
float y )
inline

Sets the coordinates.

Parameters
[in]xX-coordinate.
[in]yY-coordinate.

◆ Set() [23/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( int16_t x,
int16_t y )
inline

Sets the coordinates.

Parameters
[in]xX-coordinate.
[in]yY-coordinate.

◆ Set() [24/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( int32_t x,
int32_t y )
inline

Sets the coordinates.

Parameters
[in]xX-coordinate.
[in]yY-coordinate.

◆ Set() [25/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( int64_t x,
int64_t y )
inline

Sets the coordinates.

Parameters
[in]xX-coordinate.
[in]yY-coordinate.

◆ Set() [26/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( int8_t x,
int8_t y )
inline

Sets the coordinates.

Parameters
[in]xX-coordinate.
[in]yY-coordinate.

◆ Set() [27/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( uint16_t x,
uint16_t y )
inline

Sets the coordinates.

Parameters
[in]xX-coordinate.
[in]yY-coordinate.

◆ Set() [28/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( uint32_t x,
uint32_t y )
inline

Sets the coordinates.

Parameters
[in]xX-coordinate.
[in]yY-coordinate.

◆ Set() [29/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( uint64_t x,
uint64_t y )
inline

Sets the coordinates.

Parameters
[in]xX-coordinate.
[in]yY-coordinate.

◆ Set() [30/30]

template<typename T>
void FLImaging::Base::TPoint< T >::Set ( uint8_t x,
uint8_t y )
inline

Sets the coordinates.

Parameters
[in]xX-coordinate.
[in]yY-coordinate.

◆ operator* [1/4]

template<typename T>
TPoint< T > operator* ( double value,
const TPoint< T > & tp )
friend

Multiplication operator.

Parameters
[in]valueValue to multiply all coordinates by.
[in]tpPoint object to multiply.
Return values
TPoint<T>Resulting point object.

◆ operator* [2/4]

template<typename T>
TPoint< T > operator* ( float value,
const TPoint< T > & tp )
friend

Multiplication operator.

Parameters
[in]valueValue to multiply all coordinates by.
[in]tpPoint object to multiply.
Return values
TPoint<T>Resulting point object.

◆ operator* [3/4]

template<typename T>
TPoint< T > operator* ( int32_t value,
const TPoint< T > & tp )
friend

Multiplication operator.

Parameters
[in]valueValue to multiply all coordinates by.
[in]tpPoint object to multiply.
Return values
TPoint<T>Resulting point object.

◆ operator* [4/4]

template<typename T>
TPoint< T > operator* ( int64_t value,
const TPoint< T > & tp )
friend

Multiplication operator.

Parameters
[in]valueValue to multiply all coordinates by.
[in]tpPoint object to multiply.
Return values
TPoint<T>Resulting point object.

◆ operator+ [1/4]

template<typename T>
TPoint< T > operator+ ( double value,
const TPoint< T > & tp )
friend

Addition operator.

Parameters
[in]valueValue to add to all coordinates.
[in]tpPoint object to add.
Return values
TPoint<T>Resulting point object.

◆ operator+ [2/4]

template<typename T>
TPoint< T > operator+ ( float value,
const TPoint< T > & tp )
friend

Addition operator.

Parameters
[in]valueValue to add to all coordinates.
[in]tpPoint object to add.
Return values
TPoint<T>Resulting point object.

◆ operator+ [3/4]

template<typename T>
TPoint< T > operator+ ( int32_t value,
const TPoint< T > & tp )
friend

Addition operator.

Parameters
[in]valueValue to add to all coordinates.
[in]tpPoint object to add.
Return values
TPoint<T>Resulting point object.

◆ operator+ [4/4]

template<typename T>
TPoint< T > operator+ ( int64_t value,
const TPoint< T > & tp )
friend

Addition operator.

Parameters
[in]valueValue to add to all coordinates.
[in]tpPoint object to add.
Return values
TPoint<T>Resulting point object.

◆ operator- [1/4]

template<typename T>
TPoint< T > operator- ( double value,
const TPoint< T > & tp )
friend

Subtraction operator.

Parameters
[in]valueValue from which all coordinates will be subtracted.
[in]tpPoint object to subtract.
Return values
TPoint<T>Resulting point object.

◆ operator- [2/4]

template<typename T>
TPoint< T > operator- ( float value,
const TPoint< T > & tp )
friend

Subtraction operator.

Parameters
[in]valueValue from which all coordinates will be subtracted.
[in]tpPoint object to subtract.
Return values
TPoint<T>Resulting point object.

◆ operator- [3/4]

template<typename T>
TPoint< T > operator- ( int32_t value,
const TPoint< T > & tp )
friend

Subtraction operator.

Parameters
[in]valueValue from which all coordinates will be subtracted.
[in]tpPoint object to subtract.
Return values
TPoint<T>Resulting point object.

◆ operator- [4/4]

template<typename T>
TPoint< T > operator- ( int64_t value,
const TPoint< T > & tp )
friend

Subtraction operator.

Parameters
[in]valueValue from which all coordinates will be subtracted.
[in]tpPoint object to subtract.
Return values
TPoint<T>Resulting point object.

◆ operator/ [1/4]

template<typename T>
TPoint< T > operator/ ( double value,
const TPoint< T > & tp )
friend

Division operator.

Parameters
[in]valueValue to be divided by each coordinate.
[in]tpPoint object whose coordinates are used as divisors.
Return values
TPoint<T>Resulting point object.

◆ operator/ [2/4]

template<typename T>
TPoint< T > operator/ ( float value,
const TPoint< T > & tp )
friend

Division operator.

Parameters
[in]valueValue to be divided by each coordinate.
[in]tpPoint object whose coordinates are used as divisors.
Return values
TPoint<T>Resulting point object.

◆ operator/ [3/4]

template<typename T>
TPoint< T > operator/ ( int32_t value,
const TPoint< T > & tp )
friend

Division operator.

Parameters
[in]valueValue to be divided by each coordinate.
[in]tpPoint object whose coordinates are used as divisors.
Return values
TPoint<T>Resulting point object.

◆ operator/ [4/4]

template<typename T>
TPoint< T > operator/ ( int64_t value,
const TPoint< T > & tp )
friend

Division operator.

Parameters
[in]valueValue to be divided by each coordinate.
[in]tpPoint object whose coordinates are used as divisors.
Return values
TPoint<T>Resulting point object.

Member Data Documentation

◆ x

template<typename T>
T FLImaging::Base::TPoint< T >::x

x coordinate of point

◆ y

template<typename T>
T FLImaging::Base::TPoint< T >::y

y coordinate of point