Horizon
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
horizon::Frame Class Reference
Inheritance diagram for horizon::Frame:
horizon::ObjectProvider horizon::LayerProvider horizon::UUIDProvider

Public Member Functions

 Frame (const UUID &uu, const json &j)
 
 Frame (const UUID &uu)
 
std::pair< Coordi, Coordi > get_bbox (bool all=false) const
 
Junction * get_junction (const UUID &uu) override
 
UUID get_uuid () const override
 
json serialize () const
 
void expand ()
 
 Frame (const Frame &sym)
 
void operator= (Frame const &sym)
 
- Public Member Functions inherited from horizon::ObjectProvider
virtual class Polygon * get_polygon (const UUID &uu)
 
- Public Member Functions inherited from horizon::LayerProvider
virtual const std::map< int, Layer > & get_layers () const
 

Static Public Member Functions

static Frame new_from_file (const std::string &filename)
 

Public Attributes

UUID uuid
 
std::string name
 
std::map< UUID, Junction > junctions
 
std::map< UUID, Line > lines
 
std::map< UUID, Arc > arcs
 
std::map< UUID, Text > texts
 
std::map< UUID, Polygon > polygons
 
int64_t width = 100_mm
 
int64_t height = 100_mm
 

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