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

Simplified class representing a quadrangle. More...

#include <TQuad3.h>

Public Member Functions

 TQuad3 ()
 Default constructor.
 TQuad3 (const TQuad3< T > &tq)
 Copy constructor.
 TQuad3 (const TPoint3< T > &tpPoint0, const TPoint3< T > &tpPoint1, const TPoint3< T > &tpPoint2, const TPoint3< T > &tpPoint3)
 Constructs a quadrilateral using four 3D points.
void Set (const TQuad3< T > &tq)
 Sets the quadrilateral from another TQuad3 object.
void Set (const TPoint3< T > &tpPoint0, const TPoint3< T > &tpPoint1, const TPoint3< T > &tpPoint2, const TPoint3< T > &tpPoint3)
 Sets the quadrilateral using four 3D points.

Public Attributes

TPoint3< T > tpPoints [4]

Detailed Description

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

Simplified class representing a quadrangle.

The default constructor does not initialize member variables for performance.

Constructor & Destructor Documentation

◆ TQuad3() [1/2]

template<typename T>
FLImaging::Base::TQuad3< T >::TQuad3 ( const TQuad3< T > & tq)
inline

Copy constructor.

Parameters
[in]tqTQuad3 object to copy.

◆ TQuad3() [2/2]

template<typename T>
FLImaging::Base::TQuad3< T >::TQuad3 ( const TPoint3< T > & tpPoint0,
const TPoint3< T > & tpPoint1,
const TPoint3< T > & tpPoint2,
const TPoint3< T > & tpPoint3 )
inline

Constructs a quadrilateral using four 3D points.

Parameters
[in]tpPoint0First point.
[in]tpPoint1Second point.
[in]tpPoint2Third point.
[in]tpPoint3Fourth point.

Member Function Documentation

◆ Set() [1/2]

template<typename T>
void FLImaging::Base::TQuad3< T >::Set ( const TPoint3< T > & tpPoint0,
const TPoint3< T > & tpPoint1,
const TPoint3< T > & tpPoint2,
const TPoint3< T > & tpPoint3 )
inline

Sets the quadrilateral using four 3D points.

Parameters
[in]tpPoint0First point.
[in]tpPoint1Second point.
[in]tpPoint2Third point.
[in]tpPoint3Fourth point.

◆ Set() [2/2]

template<typename T>
void FLImaging::Base::TQuad3< T >::Set ( const TQuad3< T > & tq)
inline

Sets the quadrilateral from another TQuad3 object.

Parameters
[in]tqSource quadrilateral.

Member Data Documentation

◆ tpPoints

template<typename T>
TPoint3<T> FLImaging::Base::TQuad3< T >::tpPoints[4]

Four vertices of a quadrilateral