OpendTect  6.6
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)
 
height () const
 
bool operator!= (const Size2D< T > &) const
 
Size2D< T > operator+ (T val) const
 
Size2D< T > & operator+= (const Size2D< T > &)
 
Size2D< T > & operator+= (T val)
 
Size2D< T > & operator-= (const Size2D< T > &)
 
Size2D< T > & operator-= (T val)
 
bool operator== (const Size2D< T > &) const
 
void setHeight (T val)
 
void setWidth (T val)
 
width () const
 

Protected Attributes

height_
 
width_
 

Detailed Description

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

Basic 2D sizes (width/height) class.

<>

Constructor & Destructor Documentation

◆ Size2D()

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

Member Function Documentation

◆ height()

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

◆ operator!=()

template<class T >
bool Geom::Size2D< T >::operator!= ( const Size2D< T > &  s) const
inline

◆ operator+()

template<class T >
Size2D< T > Geom::Size2D< T >::operator+ ( val) const
inline

◆ operator+=() [1/2]

template<class T >
Size2D< T > & Geom::Size2D< T >::operator+= ( const Size2D< T > &  s)
inline

◆ operator+=() [2/2]

template<class T >
Size2D< T > & Geom::Size2D< T >::operator+= ( val)
inline

◆ operator-=() [1/2]

template<class T >
Size2D< T > & Geom::Size2D< T >::operator-= ( const Size2D< T > &  s)
inline

◆ operator-=() [2/2]

template<class T >
Size2D< T > & Geom::Size2D< T >::operator-= ( val)
inline

◆ operator==()

template<class T >
bool Geom::Size2D< T >::operator== ( const Size2D< T > &  s) const
inline

◆ setHeight()

template<class T >
void Geom::Size2D< T >::setHeight ( val)
inline

◆ setWidth()

template<class T >
void Geom::Size2D< T >::setWidth ( val)
inline

◆ width()

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

Member Data Documentation

◆ height_

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

◆ width_

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

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