<< dt3_delete cglab dt3_insert_points >>

cglab >> cglab > dt3_get_connectivity

dt3_get_connectivity

Get the connectivity of dt3

Calling Sequence

tri = dt3_get_connectivity(ptr);

Parameters

ptr
: is a pointer representing dt3.
tri
: is (nbtriangles,4) array, Each row of tri defines one tetraedral.

Description

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

Examples

x = rand(1,8);
y = rand(1,8);
z = rand(1,8);
[tri,ptr] = delaunay_3(x,y,z);
new_x = rand(1,3);
new_y = rand(1,3);
new_z = rand(1,3);
dt3_insert_points(ptr,new_x,new_y,new_z);
new_tri = dt3_get_connectivity(ptr)
dt3_delete(ptr,"ptr");

See Also

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

Authors


Report an issue
<< dt3_delete cglab dt3_insert_points >>