필터 지우기
필터 지우기

Does MATLAB duplicate data when using DelaunayTri, TriRep, etc?

조회 수: 1 (최근 30일)
AJP
AJP 2011년 6월 12일
Say I want to mesh some (x,y) points.
If I use delaunay() then I just get one new piece of data, the triangulation, tri.
However, if I use DelaunayTri, I'll get a structure containing the points and the triangulation.
Does this mean the points have been duplicated in memory? Isn't this a bit wasteful especially if you have a large set of x,y?
Similarly say I have x,y,tri already and want to use some of the TriRep methods. If I use TriRep() does this duplicate the points AND the triangulation?

답변 (1개)

Wajahat
Wajahat 2012년 4월 12일
Hi
By duplication if you mean a new structure created by TriRep will be having the a copy of the input besides the new triangulation data, yes it does.
Best Regards
Wajahat

카테고리

Help CenterFile Exchange에서 Delaunay Triangulation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by