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

Public Types

enum class  Mode { HORIZONTAL , VERTICAL , DISTANCE }
 

Public Member Functions

 Dimension (const UUID &uu, const json &j)
 
 Dimension (const UUID &uu)
 
int64_t project (const Coordi &c) const
 
int64_t get_length () const
 
json serialize () const
 

Public Attributes

UUID uuid
 
Coordi p0
 
Coordi p1
 
int64_t label_distance = 3_mm
 
uint64_t label_size = 1.5_mm
 
Mode mode = Mode::DISTANCE
 

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