How to find a concentric irregular polygon
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi everyone,
How can I find a new set of points which compose a concentric polygon, inside the original one (in the picture), with a given distance from it?
댓글 수: 0
답변 (1개)
Image Analyst
2023년 9월 7일
I'd just find the centroid of the shape, then run around the perimeter finding the distance to the centroid. Then use normal trig functions to shorten that distance and get new (x,y) coordinates.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!