Classes | |
struct | Point |
A class representing a point in a 2-dimensional space. More... | |
struct | Line |
A class representing a line as two end points. More... | |
struct | LineRT |
A class representing a line as the angle and the distance from the origin. More... | |
struct | Grid |
A structure representing a grid as a matrix of points. More... | |
Functions | |
Point | mean (Point p1, Point p2, float weight=0.5) |
Compute a weighted mean of two points. | |
float | rad (float angle) |
Convert degrees to radians. | |
float | deg (float angle) |
Convert radians to degrees. |
|
Convert radians to degrees.
|
|
Compute a weighted mean of two points.
|
|
Convert degrees to radians.
|