필터 지우기
필터 지우기

how to draw circles inside each other

조회 수: 2 (최근 30일)
shiro
shiro 2014년 2월 11일
댓글: shiro 2014년 2월 11일
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

채택된 답변

Image Analyst
Image Analyst 2014년 2월 11일
Feel free to adapt my demo, attached below.

추가 답변 (1개)

Mark
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 CenterFile Exchange에서 Computational Geometry에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by