#include <types.h>
Data Fields | |
| geom_curve | curve |
| geom_point | center |
| Center point. | |
| real | rotation |
| Rotation around the center point (CCW in radians). | |
| real | major |
| Semimajor axis (major >= 0). | |
| real | minor |
| Semiminor axis (minor >= 0). | |
| real | start |
| Parameter of hyperbolic arc starting point (-infinity for whole hyperbola). | |
| real | end |
| Parameter of hyperbolic arc ending point (+infinity for whole hyperbola). | |
Structure represents hyperbola in standard form: x^2 / major^2 - y^2 / minor^2 = 1, moved to stored center point and rotated CCW around this point.
FIXME: domyslet vhodnou parametrizaci
Parametric form (interval (0, PI) for right branch, (-PI, 0) for left branch): x = a / sin t, y = b * cos t / sin t.
Section of hyperbola (hyperbolic arc) is given by parameters subinterval (cannot contain zero).
1.3.5