필터 지우기
필터 지우기

Generating polygons from n random points in 2-D plane

조회 수: 3 (최근 30일)
Amit
Amit 2015년 7월 21일
댓글: Amit 2015년 10월 29일
Hello all: If I have n random points in a 2-D plane, what may be the approach to: (1) Count, (2) generate, the various possible n-point polygons (all available points should be the vertices).
Thanks immensely for your help.
  댓글 수: 4
Kirby Fears
Kirby Fears 2015년 9월 16일
Is your only constraint that no pair of lines should cross? Do you care if the polygon is convex?
As you said, in each of n! combinations of vertices, you could come up with a cleverly efficient way to check if any lines cross.
Amit
Amit 2015년 10월 29일
Dear Kirby Fears, thanks for the comment. No I do not care if the polygon is convex. Thanks. Please let me know if you have any further insights. Regards, Amit

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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