OpendTect-6_4  6.4
Public Member Functions | Protected Attributes | List of all members
Geom::Size2D< T > Class Template Reference

Basic 2D sizes (width/height) class. More...

Inheritance diagram for Geom::Size2D< T >:
[legend]

Public Member Functions

 Size2D (T w=0, T h=0)
 
bool operator== (const Size2D< T > &) const
 
bool operator!= (const Size2D< T > &) const
 
width () const
 
height () const
 
void setWidth (T val)
 
void setHeight (T val)
 
Size2D< T > operator+ (T val) const
 
Size2D< T > & operator+= (T val)
 
Size2D< T > & operator-= (T val)
 
Size2D< T > & operator+= (const Size2D< T > &)
 
Size2D< T > & operator-= (const Size2D< T > &)
 

Protected Attributes

width_
 
height_
 

Detailed Description

template<class T>
class Geom::Size2D< T >

Basic 2D sizes (width/height) class.

Constructor & Destructor Documentation

template<class T>
Geom::Size2D< T >::Size2D ( w = 0,
h = 0 
)
inline

Member Function Documentation

template<class T >
T Geom::Size2D< T >::height ( ) const
inline
template<class T>
bool Geom::Size2D< T >::operator!= ( const Size2D< T > &  s) const
inline
template<class T>
Size2D< T > Geom::Size2D< T >::operator+ ( val) const
inline
template<class T>
Size2D< T > & Geom::Size2D< T >::operator+= ( val)
inline
template<class T>
Size2D< T > & Geom::Size2D< T >::operator+= ( const Size2D< T > &  s)
inline
template<class T>
Size2D< T > & Geom::Size2D< T >::operator-= ( val)
inline
template<class T>
Size2D< T > & Geom::Size2D< T >::operator-= ( const Size2D< T > &  s)
inline
template<class T>
bool Geom::Size2D< T >::operator== ( const Size2D< T > &  s) const
inline
template<class T>
void Geom::Size2D< T >::setHeight ( val)
inline
template<class T>
void Geom::Size2D< T >::setWidth ( val)
inline
template<class T >
T Geom::Size2D< T >::width ( ) const
inline

Member Data Documentation

template<class T>
T Geom::Size2D< T >::height_
protected
template<class T>
T Geom::Size2D< T >::width_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019