Scilab Function
Last update : November 2005

cgal_dt2_remove_points - Remove the existante points from dt2.

Calling Sequence

cgal_dt2_remove_points(ptr,x,y);

Parameters

Description

Given a pointer ptr of dt2, cgal_dt2_remove_points(ptr,x,y) removes (x,y) points from dt2.

Examples



x = rand(1,10);
y = rand(1,10);
[tri,ptr] = cgal_delaunay_2(x,y);
 tri  =

!   1.     8.    3. !
!   5.     7.    4. !
!   10.    1.    3. !
!   7.     9.    4. !
!   10.    4.    1. !
!   10.    5.    4. !
!   2.     3.    6. !
!   9.     1.    4. !
!   6.     3.    8. !
!   8.     1.    9. !
cgal_dt2_remove_points(ptr,x,y);
new_tri = cgal_dt2_get_connectivity(ptr)
new_tri = []
cgal_dt2_delete(ptr,"ptr");
 
  

See Also

cgal_delaunay_2 ,   cgal_dt2_get_connectivity ,   cgal_dt2_insert_points ,   cgal_dt2_delete ,  

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

Authors

Naceur MESKINI.