How do I discretize a line using delaunay triangulation
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to discretize a line segment using the matlab function X = [0.3 0; 0.3 0.4;0 0.2; 0.6 0.2; 0.7 0.7; 0.7 0.3;0.63 0.40;0.8 0.65]; DT = delaunayTriangulation(X); It does create the triangulation, but I keep getting triangles that pass through the line segment. How can I avoid this please?
Thank you,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148295/image.jpeg)
댓글 수: 0
채택된 답변
Steven Lord
2015년 8월 20일
Add constraints to the Delaunay triangulation that forces the triangulation to use the line segments as triangle edges, perhaps?
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Delaunay Triangulation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!