3 integer algorithms for drawing circles
Version 1.0.0.0 (3,03 ko) par
Xenya
3 implementations of Bresenham and Midpoint algorithm.
All return X and Y values of point coordinates with given radius and zeros center.
R=7;
[X1,Y1]=midpoint_circle(R);
[X2,Y2]=bresenham_circle(R);
[X3,Y3]=bresenham_circle2(R);
See circle_test.m for examples.
Citation pour cette source
Xenya (2024). 3 integer algorithms for drawing circles (https://www.mathworks.com/matlabcentral/fileexchange/40213-3-integer-algorithms-for-drawing-circles), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2008a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Nonlinear Optimization dans Help Center et MATLAB Answers
Tags
Remerciements
Inspiré par : Bresenham Circle
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |