<< dtn_delete CG-lab dtn_insert_points >>

CG-lab >> CG-lab > dtn_get_connectivity

dtn_get_connectivity

Get the connectivity of dtn

Calling Sequence

tes = dtn_get_connectivity(ptr);

Parameters

ptr
: is a pointer representing dtn.
tes
: is a (nbsimplices,dcur+1) array where each row contains the indices of the vertices of the corresponding simplex, where dcur is the affine dimension of a set of points witch ptr is computed from, and nbsimplices is the number of simplices.

Description

Given a pointer ptr of dtn, tri = dtn_get_connectivity (ptr) allows to get the connectivity of dtn.

Examples

x = rand(1,10);
y = rand(1,10);
points=[x' y'];
[tri,ptr] = delaunay_n(points);
new_x = rand(1,10);
new_y = rand(1,10);
new_points=[new_x' new_y']
dtn_insert_points(ptr,new_points);
new_tri = dtn_get_connectivity(ptr);
dtn_delete(ptr,"ptr");
new_tri

See Also

This function uses the Convex_hull_d package of CGAL, which is under QPL license. See License Terms

Authors

<< dtn_delete CG-lab dtn_insert_points >>