#include <types.h>
Data Fields | |
| geom_curve | curve |
| geom_point | center |
| Center point. | |
| real | rotation |
| Rotation around the center point (CCW in radians). | |
| real | a_radius |
| X-axis radius (a_radius >= 0). | |
| real | b_radius |
| Y-axis radius (b_radius >= 0). | |
| real | start |
| real | dif |
Structure represents ellipse in standard form: x^2 / a_radius^2 + y^2 / b_radius^2 = 1, moved to stored center point and rotated CCW around this point. Special cases with zero radius (radii) are also supported (closure to affine transformations).
Parametric form of ellipse: x = a_radius * cos t, y = b_radius * sin t.
Section of ellipse (elliptic arc) is given by parameters subinterval.
1.3.5