#include <types.h>
Data Fields | |
| geom_curve | curve |
| Curve header. | |
| geom_point | center |
| Center point. | |
| real | rotation |
| Rotation around the center point (CCW in radians). | |
| real | distance |
| Distance of center point to parabola focus and directrix (distance >= 0). | |
| real | start |
| Parameter of parabolic arc starting point. | |
| real | end |
| Parameterof parabolic arc ending point. | |
Structure represents parabola in standard form: x^2 = 4 * distance * y, moved to stored center point and rotated CCW around this point.
Parametric form of parabola: x = t, y = t^2 / (4 * distance).
Section of parabola (parabolic arc) is given by parameters subinterval.
1.3.5