Defines
swissranger.cpp File Reference
#include "swissranger.h"
Include dependency graph for swissranger.cpp:

Go to the source code of this file.

Defines

#define _dot(x, y)   ((x[0])*(y[0])+(x[1])*(y[1])+(x[2])*(y[2]))
#define _sqr(x)   ((x)*(x))
#define _sqr_sum_3d(x)   (_sqr(x[0])+_sqr(x[1])+_sqr(x[2]))
#define SR_EXCEPT(except, msg)
 Macro for throwing an exception with a message.
#define SR_EXCEPT_ARGS(except, msg,...)
 Macro for throwing an exception with a message, passing args.

Define Documentation

#define _dot (   x,
 
)    ((x[0])*(y[0])+(x[1])*(y[1])+(x[2])*(y[2]))

Definition at line 171 of file swissranger.cpp.

#define _sqr (   x)    ((x)*(x))

Definition at line 169 of file swissranger.cpp.

#define _sqr_sum_3d (   x)    (_sqr(x[0])+_sqr(x[1])+_sqr(x[2]))

Definition at line 170 of file swissranger.cpp.

#define SR_EXCEPT (   except,
  msg 
)
Value:
{ \
    char buf[100]; \
    snprintf(buf, 100, "[SwissRanger::%s]: " msg, __FUNCTION__); \
    throw except(buf); \
  }

Macro for throwing an exception with a message.

Definition at line 35 of file swissranger.cpp.

#define SR_EXCEPT_ARGS (   except,
  msg,
  ... 
)
Value:
{ \
    char buf[100]; \
    snprintf(buf, 100, "[SwissRanger::%s]: " msg, __FUNCTION__, __VA_ARGS__); \
    throw except(buf); \
  }

Macro for throwing an exception with a message, passing args.

Definition at line 43 of file swissranger.cpp.



composite_swissranger
Author(s): Radu Bogdan Rusu (rusu@cs.tum.edu)
autogenerated on Mon Oct 6 2014 08:11:48