Horizon
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
horizon::Arc Class Reference

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, Coordiget_bbox () const
 
json serialize () const
 

Public Attributes

UUID uuid
 
uuid_ptr< Junctionto
 
uuid_ptr< Junctionfrom
 
uuid_ptr< Junctioncenter
 
uint64_t width = 0
 
int layer = 0
 

Detailed Description

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.


The documentation for this class was generated from the following files: