Module geometric_features::related_ellipse
source · Expand description
Contains the feature function related to the related elipse of a polygon
Structs
- Contains the features of the related elipse of a polygon
Functions
- Compute the eccentricity of the related elipse of a polygon
- Compute the features of the related elipse of a polygon. Usefull to avoid recomputing the related elipse multiple times.
- Compute the deviation beween the polygon and the related elipse using a scanline algorithm.
precision
is the number of lines used to compute the deviation. The more lines, the more precise the result will be. - Fit an elipse to a polygon using a scanline algorythe and the “Numerically stable direct least squares fitting of ellipses” algorythm by Halir and Flusser
- Compute the minor and major axis of the related elipse of a polygon