Scilab Function
Last update : November 2005

cgal_dt3_get_connectivity - Get the connectivity of dt3

Calling Sequence

tri = cgal_dt3_get_connectivity(ptr);

Parameters

Description

Given a pointer ptr of dt3, tri = cgal_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] = cgal_delaunay_3(x,y,z);
 new_x = rand(1,3);
 new_y = rand(1,3);
 new_z = rand(1,3);
 cgal_dt3_insert_points(ptr,new_x,new_y,new_z);
 new_tri = cgal_dt3_get_connectivity(ptr);
 cgal_dt3_delete(ptr,"ptr");
 new_tri
-->new_tri  =
!   5.     1.     3.     6.  !
!   9.     10.    3.     7.  !
!   3.     2.     1.     5.  !
!   7.     6.     3.     9.  !
!   6.     1.     3.     9.  !
!   2.     11.    3.     10. !
!   1.     10.    9.     8.  !
!   5.     1.     6.     4.  !
!   9.     10.    7.     8.  !
!   1.     2.     10.    8.  !
!   8.     1.     5.     4.  !
!   5.     2.     1.     8.  !
!   10.    11.    3.     7.  !
!   11.    6.     3.     7.  !
!   1.     8.     9.     4.  !
!   6.     1.     9.     4.  !
!   1.     10.    3.     9.  !
!   1.     2.     3.     10. !
!   3.     2.     5.     11. !
!   11.    5.     3.     6.  !                          
 
  

See Also

cgal_delaunay_3 ,   cgal_dt3_insert_points ,   cgal_dt3_remove_points ,   cgal_dt3_delete ,  

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

Authors

Naceur MESKINI.