SAGA API Version 9.14
Loading...
Searching...
No Matches
map_shapes_line.cpp File Reference
#include "../dc_helper.h"
#include "map_symbology.h"
#include "map_layer.h"

Go to the source code of this file.

Macros

#define GET_ANGLE(a, b)

Macro Definition Documentation

◆ GET_ANGLE

#define GET_ANGLE ( a,
b )
Value:
M_RAD_TO_DEG * (b.x != a.x ? M_PI_180 - atan2((double)(b.y - a.y), (double)(b.x - a.x)) : (b.y > a.y ? M_PI_270 : (b.y < a.y ? M_PI_090 : 0.0)))
#define M_PI_090
Definition mat_tools.h:100
#define M_RAD_TO_DEG
Definition mat_tools.h:108
#define M_PI_180
Definition mat_tools.h:102
#define M_PI_270
Definition mat_tools.h:104

Definition at line 367 of file map_shapes_line.cpp.

Referenced by CSG_Map_Shapes_Line::Draw_Label().