Generating polygons from n random points in 2-D plane

4 vues (au cours des 30 derniers jours)
Amit
Amit le 21 Juil 2015
Commenté : Amit le 29 Oct 2015
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 commentaires
Kirby Fears
Kirby Fears le 16 Sep 2015
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 le 29 Oct 2015
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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Computational Geometry dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by