|
| Clothoid2 () |
| Empty constructor. More...
|
|
| Clothoid2 (const double &) |
| Create a clothoid given a slope multiplier parameter. More...
|
|
| Clothoid2 (const double &, const double &) |
| Create a clothoid with one pair of parameters. More...
|
|
| Clothoid2 (const double &, const double &, const double &, const double &) |
| Create a clothoid given two pairs of parameters. More...
|
|
| ~Clothoid2 () |
| Empty.
|
|
Vector2 | Vertex (const double &) const |
| Compute the point of the clothoid curve at parameter curvilinear abscissa t. More...
|
|
double | Curvature (const double &) const |
| Compute the curvature of the clothoid at curvilinear abscissa t. More...
|
|
Vector2 | Tangent (const double &) const |
| Compute the tangent to the clothoid at curvilinear abscissa t. More...
|
|
double | GetSlope () const |
| Return the slope of the clothoid.
|
|
void | Draw (QGraphicsScene &, const QPen &, const QBrush &) const |
| Draw the clothoid arc. More...
|
|
Clothoid curves.
An clothoid, also referred to as Euler spiral, is a curve whose curvature changes linearly with its curve length (the curvature of a circular curve is equal to the reciprocal of the radius).
See Sketching piecewise clothoid curves, Sketch-Based Interfaces and Modeling, 2008.
- Author
- Eric Guérin
Vector2 Clothoid2::Vertex |
( |
const double & |
t | ) |
const |
Compute the point of the clothoid curve at parameter curvilinear abscissa t.
The implementation relies on a rational approximation.
M. Heald. Rational approximations for the fresnel integrals. Mathematics of Computation, 44 (170), 459–461, 1985.
- Parameters
-