Gin
Loading...
Searching...
No Matches
gin_geometry.h File Reference

Classes

class  Ellipse< T >
 Equations to calculate the shape of an ellipse and to calculate points on the edge of the ellipse and to see if points are inside or outside. More...
class  Polygon< T >
 A simple polygon defined by a series of points. More...

Functions

template<typename T>
T square (T in)
 Returns the square of a value.
template<typename T>
bool solveLine (T x1, T y1, T x2, T y2, T &m, T &b)
 Solves for the slope and intercept of a line given two points.