Scilab Function
Last update : November 2005

cgal_dtn_get_connectivity - Get the connectivity of dtn

Calling Sequence

tes = cgal_dtn_get_connectivity(ptr);

Parameters

Description

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

Examples

x = rand(1,10);
y = rand(1,10);
[tri,ptr] = cgal_delaunay_2(x,y);
new_x = rand(1,10);
new_y = rand(1,10);
cgal_dtn_insert_points(ptr,new_x,new_y);
new_tri = cgal_dtn_get_connectivity(ptr);
cgal_dtn_delete(ptr,"ptr");
new_tri
-->new_tri  =

!   18.    2.     16. !
!   7.     9.     11. !
!   13.    4.     1.  !
!   15.    1.     6.  !
!   20.    4.     13. !
!   3.     15.    5.  !
!   3.     12.    15. !
!   9.     2.     18. !
!   2.     7.     10. !
!   2.     9.     7.  !
!   15.    17.    20. !
!   10.    7.     4.  !
!   19.    11.    9.  !
!   11.    4.     7.  !
!   20.    10.    4.  !
!   6.     19.    9.  !
!   1.     4.     11. !
!   15.    13.    1.  !
!   15.    20.    13. !
!   5.     14.    3.  !
!   5.     6.     18. !
!   5.     15.    6.  !
!   17.    8.     20. !
!   5.     16.    14. !
!   12.    17.    15. !
!   12.    8.     17. !
!   5.     18.    16. !
!   6.     9.     18. !
!   1.     19.    6.  !
!   1.     11.    19. !

See Also

cgal_delaunay_2 ,   cgal_dtn_insert_points ,   cgal_dtn_delete ,  

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

Authors

Naceur MESKINI.