Graphite  Version 3
An experimental 3D geometry processing program
common.h File Reference

Definitions common to all include files in the basic library. More...

#include <geogram/basic/common.h>
#include <geogram/basic/assert.h>
#include <geogram/basic/argused.h>
#include <geogram/basic/memory.h>
#include <geogram/basic/numeric.h>
#include <geogram/basic/string.h>
#include <geogram/basic/smart_pointer.h>
#include <geogram/basic/counted.h>
#include <geogram/basic/logger.h>
#include <iostream>
#include <stdlib.h>

Go to the source code of this file.

Classes

class  OGF::basic_libinit
 

Namespaces

 OGF
 Global Graphite namespace.
 

Macros

#define OGF_EXPORT   GEO_EXPORT
 
#define OGF_IMPORT   GEO_IMPORT
 
#define BASIC_API   OGF_IMPORT
 
#define ogf_assert(x)   geo_assert(x)
 
#define ogf_debug_assert(x)   geo_debug_assert(x)
 
#define ogf_assert_not_reached   geo_assert_not_reached
 
#define ogf_argused(x)   ::GEO::geo_argused(x)
 
#define ogf_range_assert(x, xmin, xmax)   geo_assert((x) >= (xmin) && (x) <= (xmax))
 

Functions

template<class T >
Sign OGF::ogf_sgn (const T &x)
 
template<class T >
void OGF::ogf_clamp (T &x, T xmin, T xmax)
 
template<class T >
OGF::ogf_sqr (const T &x)
 

Detailed Description

Definitions common to all include files in the basic library.

Definition in file common.h.