pixled-lib
1.0
|
#include <geometry.h>
Public Member Functions | |
spiral (float a, float b, point center) | |
point | operator() (angle theta) |
Class used to represent an archimedean spiral of equation r = a + b * theta
.
|
inline |
Spiral constructor.
a | a |
b | b |
center | center of the spiral |
Returns the point of the spiral at the specified angle.
Notice that the angle might be greater than 360° to represent spiral loops.
theta | angle |