OpendTect  6.6
Classes | Macros | Typedefs | Functions | Variables
uigeom.h File Reference
Include dependency graph for uigeom.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  uiSize
 
class  uiRect
 
class  uiBorder
 

Macros

#define mUIGeomImplSideFns(clss)
 
#define mGoldenRatio   1.618034f
 

Typedefs

typedef Geom::Point2D< int > uiPoint
 
typedef Geom::Point2D< double > uiWorldPoint
 
typedef Geom::PosRectangle< double > uiWorldRect
 

Functions

int GetGoldenMajor (int inp)
 
int GetGoldenMinor (int inp)
 

Variables

static const float cGoldenRatio = 1.618034f
 

Macro Definition Documentation

◆ mGoldenRatio

#define mGoldenRatio   1.618034f

◆ mUIGeomImplSideFns

#define mUIGeomImplSideFns (   clss)
Value:
inline int clss::get( uiRect::Side s ) const \
{ return uiRect::isHor(s) ? (s == uiRect::Top ? top() : bottom()) \
: (s == uiRect::Left ? left() : right() ); } \
inline void clss::set( uiRect::Side s, int i ) \
{ uiRect::isHor(s) ? (s == uiRect::Top ? setTop(i) : setBottom(i)) \
: (s == uiRect::Left ? setLeft(i) : setRight(i)); }

Typedef Documentation

◆ uiPoint

typedef Geom::Point2D<int> uiPoint

◆ uiWorldPoint

typedef Geom::Point2D<double> uiWorldPoint

◆ uiWorldRect

Function Documentation

◆ GetGoldenMajor()

int GetGoldenMajor ( int  inp)
inline

◆ GetGoldenMinor()

int GetGoldenMinor ( int  inp)
inline

Variable Documentation

◆ cGoldenRatio

const float cGoldenRatio = 1.618034f
static
uiRect::Side
Side
Definition: uigeom.h:45
left
@ left
Definition: i_layout.h:28
uiRect
Definition: uigeom.h:42
Conv::set
void set(T &_to, const F &fr)
template based type conversion
Definition: convert.h:27
right
@ right
Definition: i_layout.h:28
uiRect::Top
@ Top
Definition: uigeom.h:45
OD::Left
@ Left
Definition: oduicommon.h:63

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