Horizon
|
Graphical arc. More...
#include <arc.hpp>
Public Member Functions | |
Arc (const UUID &uu, const json &j, class ObjectProvider &obj) | |
Arc (UUID uu) | |
void | reverse () |
std::pair< Coordi, Coordi > | get_bbox () const |
json | serialize () const |
Public Attributes | |
UUID | uuid |
uuid_ptr< Junction > | to |
uuid_ptr< Junction > | from |
uuid_ptr< Junction > | center |
uint64_t | width = 0 |
int | layer = 0 |
Graphical arc.
Same as a Line, an Arc is decorative only. Since the Arc is over-dimensioned by three coordinates, the renderer may choose not to render it when its coordinates don't form a correct arc.