Azzera filtri
Azzera filtri

Constraint triangulation without edges

2 visualizzazioni (ultimi 30 giorni)
Nicolas Rogalski
Nicolas Rogalski il 3 Set 2021
Risposto: Matt J il 3 Set 2021
Hello,
I want to triangulate scatter points with constraints. The constrained edges would be the red lines connecting the red points (see image).
I only know their coordinates. How can I define those edges ? Or is there another way to do this ?
Thank you in advance.

Risposte (1)

Matt J
Matt J il 3 Set 2021
You could use inpolygon to find which points lie within the polygons formed by the red points. Then, triangulate that subset.

Categorie

Scopri di più su Triangulation Representation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by