Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GeomHelper.h File Reference
#include <config.h>
#include <cmath>
#include "Position.h"
#include "PositionVector.h"
#include <utils/common/UtilExceptions.h>
Include dependency graph for GeomHelper.h:

Go to the source code of this file.

Data Structures

class  GeomHelper
 Some static methods performing geometrical operations. More...
 

Macros

#define DEG2RAD(x)   static_cast<double>((x) * M_PI / 180.)
 
#define GRAVITY   9.80665
 
#define M_PI   3.1415926535897932384626433832795
 
#define RAD2DEG(x)   static_cast<double>((x) * 180. / M_PI)
 

Detailed Description

Author
Daniel Krajzewicz
Friedemann Wesner
Jakob Erdmann
Michael Behrisch
Date
Sept 2002

Definition in file GeomHelper.h.

Macro Definition Documentation

◆ DEG2RAD

#define DEG2RAD (   x)    static_cast<double>((x) * M_PI / 180.)

Definition at line 35 of file GeomHelper.h.

◆ GRAVITY

#define GRAVITY   9.80665

Definition at line 37 of file GeomHelper.h.

◆ M_PI

#define M_PI   3.1415926535897932384626433832795

Definition at line 32 of file GeomHelper.h.

◆ RAD2DEG

#define RAD2DEG (   x)    static_cast<double>((x) * 180. / M_PI)

Definition at line 36 of file GeomHelper.h.