Minsky
geometry.h File Reference
#include <cmath>
#include <boost/geometry/geometries/point_xy.hpp>
Include dependency graph for geometry.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  minsky::Rotate
 rotate (x,y) by rot (in degrees) around the origin (x0, y0) can be used for rotating multiple points once constructed More...
 
class  minsky::Reflect
 

Namespaces

 minsky
 Creation and access to the minskyTCL_obj object, which has code to record whenever Minsky's state changes.
 

Macros

#define M_PI   3.14159265358979323846
 some useful geometry types, defined from boost::geometry More...
 

Typedefs

typedef boost::geometry::model::d2::point_xy< float > minsky::Point
 

Functions

template<class T >
minsky::sqr (T x)
 
double minsky::clamp360 (double x)
 return x modulo 360 More...
 
int minsky::quadrant (double x)
 return quadrant x is in: 0=[-45,45),1=[45,135), etc More...
 
bool minsky::flipped (double rotation)
 returns if the angle (in degrees) is in the second or third quadrant More...
 

Macro Definition Documentation

◆ M_PI