how to draw circles inside each other
5 次查看(过去 30 天)
显示 更早的评论
I want to create a random a polygon then I want to fill the polygon with circles with 3 different radiuses, I want to fill it first using the largest radius then with the smaller radiuses but the circles should not intersect with the polygon or with other circles please help me
0 个评论
采纳的回答
更多回答(1 个)
Mark
2014-2-11
Create the polygon, create a circle as large as you want, with the radius being your main variable. Pass the radius of your first circle to whatever is drawing your next circle. If you create the circle with the center being the same as the previous circle, and a smaller radius, you are guaranteed to not create a circle that inserects with the previous one(s).
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Elementary Polygons 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!