Horizon
Loading...
Searching...
No Matches
horizon::Placement Class Reference

Public Member Functions

 Placement (const Coordi &sh={0, 0}, int a=0, bool m=false)
 Placement (const json &j)
template<typename T>
Coord< T > transform (const Coord< T > &c) const
template<typename T>
std::pair< Coord< T >, Coord< T > > transform_bb (const std::pair< Coord< T >, Coord< T > > &bb) const
void reset ()
bool is_identity () const
void make_relative (const Placement &to)
void accumulate (const Placement &p)
void invert_angle ()
void set_angle (int a)
void inc_angle (int a)
void inc_angle_deg (int a)
void set_angle_deg (int a)
void set_angle_rad (double a)
int get_angle () const
int get_angle_deg () const
double get_angle_rad () const
json serialize () const

Public Attributes

Coordi shift
bool mirror = false

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