MrSID Decode SDK for Raster Reference Manual 9.5.5.5244
LTIGeomRect< T, inclusive > Class Template Reference

#include <lti_geometry.h>

Public Member Functions

 LTIGeomRect (const LTIGeomPoint< T > &inUL, const LTIGeomPoint< T > &inLR)
 
 LTIGeomRect (T ulx=0, T uly=1, T lrx=-1, T lry=0)
 
 LTIGeomRect (const LTIGeomDim< T > d)
 
 LTIGeomRect (const LTIGeomRect< T, inclusive > &copy)
 
LTIGeomRect< T, inclusive > & operator= (const LTIGeomRect< T, inclusive > &copy)
 
T getWidth () const
 
T width () const
 
T getHeight () const
 
T height () const
 
bool isEmpty () const
 
LTIGeomDim< T > getDimensions () const
 
LTIGeomPoint< T > getCenter () const
 
LTIGeomPoint< T > location (LTIPosition referencePoint)
 
template<class T2 >
LTIGeomRect< T, inclusive > & operator+= (const LTIGeomPoint< T2 > &offset)
 
template<class T2 >
LTIGeomRect< T, inclusive > & operator-= (const LTIGeomPoint< T2 > &offset)
 
LTIGeomRect< T, inclusive > & operator&= (const LTIGeomRect< T, inclusive > &other)
 
LTIGeomRect< T, inclusive > & operator|= (const LTIGeomRect< T, inclusive > &other)
 
bool operator== (const LTIGeomRect< T, inclusive > &other) const
 
bool operator!= (const LTIGeomRect< T, inclusive > &other) const
 
bool intersect (const LTIGeomRect< T, inclusive > &other)
 

Public Attributes

LTIGeomPoint< T > uLeft
 
LTIGeomPoint< T > lRight
 

Detailed Description

template<class T, bool inclusive = true>
class LTIGeomRect< T, inclusive >

Definition at line 178 of file lti_geometry.h.

Constructor & Destructor Documentation

◆ LTIGeomRect() [1/4]

template<class T , bool inclusive = true>
LTIGeomRect< T, inclusive >::LTIGeomRect ( const LTIGeomPoint< T > &  inUL,
const LTIGeomPoint< T > &  inLR 
)
inline

Definition at line 184 of file lti_geometry.h.

◆ LTIGeomRect() [2/4]

template<class T , bool inclusive = true>
LTIGeomRect< T, inclusive >::LTIGeomRect ( T  ulx = 0,
T  uly = 1,
T  lrx = -1,
T  lry = 0 
)
inline

Definition at line 193 of file lti_geometry.h.

◆ LTIGeomRect() [3/4]

template<class T , bool inclusive = true>
LTIGeomRect< T, inclusive >::LTIGeomRect ( const LTIGeomDim< T >  d)
inline

Definition at line 203 of file lti_geometry.h.

◆ LTIGeomRect() [4/4]

template<class T , bool inclusive = true>
LTIGeomRect< T, inclusive >::LTIGeomRect ( const LTIGeomRect< T, inclusive > &  copy)
inline

Definition at line 211 of file lti_geometry.h.

Member Function Documentation

◆ getCenter()

template<class T , bool inclusive = true>
LTIGeomPoint< T > LTIGeomRect< T, inclusive >::getCenter ( ) const
inline

◆ getDimensions()

template<class T , bool inclusive = true>
LTIGeomDim< T > LTIGeomRect< T, inclusive >::getDimensions ( ) const
inline

◆ getHeight()

◆ getWidth()

◆ height()

template<class T , bool inclusive = true>
T LTIGeomRect< T, inclusive >::height ( ) const
inline

Definition at line 242 of file lti_geometry.h.

References LTIGeomRect< T, inclusive >::getHeight().

◆ intersect()

template<class T , bool inclusive = true>
bool LTIGeomRect< T, inclusive >::intersect ( const LTIGeomRect< T, inclusive > &  other)
inline

◆ isEmpty()

template<class T , bool inclusive = true>
bool LTIGeomRect< T, inclusive >::isEmpty ( ) const
inline

◆ location()

◆ operator!=()

template<class T , bool inclusive = true>
bool LTIGeomRect< T, inclusive >::operator!= ( const LTIGeomRect< T, inclusive > &  other) const
inline

Definition at line 372 of file lti_geometry.h.

References LTIGeomRect< T, inclusive >::operator==().

◆ operator&=()

template<class T , bool inclusive = true>
LTIGeomRect< T, inclusive > & LTIGeomRect< T, inclusive >::operator&= ( const LTIGeomRect< T, inclusive > &  other)
inline

Definition at line 344 of file lti_geometry.h.

References LTIGeomRect< T, inclusive >::intersect().

◆ operator+=()

template<class T , bool inclusive = true>
template<class T2 >
LTIGeomRect< T, inclusive > & LTIGeomRect< T, inclusive >::operator+= ( const LTIGeomPoint< T2 > &  offset)
inline

◆ operator-=()

template<class T , bool inclusive = true>
template<class T2 >
LTIGeomRect< T, inclusive > & LTIGeomRect< T, inclusive >::operator-= ( const LTIGeomPoint< T2 > &  offset)
inline

◆ operator=()

template<class T , bool inclusive = true>
LTIGeomRect< T, inclusive > & LTIGeomRect< T, inclusive >::operator= ( const LTIGeomRect< T, inclusive > &  copy)
inline

◆ operator==()

template<class T , bool inclusive = true>
bool LTIGeomRect< T, inclusive >::operator== ( const LTIGeomRect< T, inclusive > &  other) const
inline

◆ operator|=()

template<class T , bool inclusive = true>
LTIGeomRect< T, inclusive > & LTIGeomRect< T, inclusive >::operator|= ( const LTIGeomRect< T, inclusive > &  other)
inline

◆ width()

template<class T , bool inclusive = true>
T LTIGeomRect< T, inclusive >::width ( ) const
inline

Definition at line 233 of file lti_geometry.h.

References LTIGeomRect< T, inclusive >::getWidth().

Member Data Documentation

◆ lRight

◆ uLeft


The documentation for this class was generated from the following file:

Extensis