Classes | Defines | Typedefs | Functions
auxiliary.h File Reference
#include "potracelib.h"
Include dependency graph for auxiliary.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  point_s


#define abs(a)   ((a)>0 ? (a) : -(a))
#define cu(a)   ((a)*(a)*(a))
#define max(a, b)   ((a)>(b) ? (a) : (b))
#define min(a, b)   ((a)<(b) ? (a) : (b))
#define sign(x)   ((x)>0 ? 1 : (x)<0 ? -1 : 0)
#define sq(a)   ((a)*(a))


typedef potrace_dpoint_t dpoint_t
typedef struct point_s point_t


static dpoint_t dpoint (point_t p)
static int floordiv (int a, int n)
static dpoint_t interval (double lambda, dpoint_t a, dpoint_t b)
static int mod (int a, int n)

Define Documentation

#define abs (   a)    ((a)>0 ? (a) : -(a))

Definition at line 72 of file auxiliary.h.

#define cu (   a)    ((a)*(a)*(a))

Definition at line 76 of file auxiliary.h.

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

Definition at line 74 of file auxiliary.h.

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

Definition at line 73 of file auxiliary.h.

#define sign (   x)    ((x)>0 ? 1 : (x)<0 ? -1 : 0)

Definition at line 71 of file auxiliary.h.

#define sq (   a)    ((a)*(a))

Definition at line 75 of file auxiliary.h.

Typedef Documentation

Definition at line 26 of file auxiliary.h.

typedef struct point_s point_t

Definition at line 24 of file auxiliary.h.

Function Documentation

static dpoint_t dpoint ( point_t  p) [inline, static]

Definition at line 29 of file auxiliary.h.

static int floordiv ( int  a,
int  n 
) [inline, static]

Definition at line 60 of file auxiliary.h.

static dpoint_t interval ( double  lambda,
dpoint_t  a,
dpoint_t  b 
) [inline, static]

Definition at line 37 of file auxiliary.h.

static int mod ( int  a,
int  n 
) [inline, static]

Definition at line 56 of file auxiliary.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Author(s): Niklas Meinzer, Ina Baumgarten
autogenerated on Wed Dec 26 2012 16:00:43