Hitmap 1.3
 All Data Structures Namespaces Files Functions Variables Typedefs Friends Macros Groups Pages
Macros
hit_funcop.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HIT_USE_MACRO_OP
 
#define hit_max(a, b)   (((a)>(b)) ? (a) : (b))
 
#define hit_min(a, b)   (((a)<(b)) ? (a) : (b))
 

Detailed Description

Simple extra functions and operators. Extra functions and operators to transform indexes and shape boundaries.

Version
0.9.2
Author
Arturo Gonzalez-Escribano
Javier Fresno Bausela
Carlos de Blas Carton
Date
Jun 2010

Definition in file hit_funcop.h.

Macro Definition Documentation

#define hit_max (   a,
 
)    (((a)>(b)) ? (a) : (b))

Maximum of two numbers (macro version).

Parameters
aNumber of any type
bNumber of any type

Definition at line 59 of file hit_funcop.h.

#define hit_min (   a,
 
)    (((a)<(b)) ? (a) : (b))

Minimum of two numbers (macro version).

Parameters
aNumber of any type
bNumber of any type

Definition at line 65 of file hit_funcop.h.

#define HIT_USE_MACRO_OP

By default: Use macro versions of operators

Definition at line 51 of file hit_funcop.h.