Scilab Function
Last update : November 2005

cgal_cdt2_get_coord - Get coordinates of vertices of cdt2.

Calling Sequence

coord = cgal_cdt2_get_coord(ptr)

Parameters

Examples


x = [5 1 6];
y = [2 6 6];
C=[8.    2.     7.    4.;6.    4.5    4.    5.;3.    6.     3.    7.;3.    4.     2.    3.;9.    4.     8.    7.];
[tri,ptr] = cgal_constraind_delaunay_2(x,y,C);
coord = cgal_cdt2_get_coord(ptr)
 coord  =
!   5.    2.  !
!   1.    6.  !
!   6.    6.  !
!   8.    2.  !
!   7.    4.  !
!   6.    4.5 !
!   4.    5.  !
!   3.    6.  !
!   3.    7.  !
!   3.    4.  !
!   2.    3.  !
!   9.    4.  !
!   8.    7.  !  
cgal_cdt2_delete(ptr,"ptr");
 
  

See Also

cgal_cdt2_insert_constraints ,   cgal_cdt2_remove_constraints ,   cgal_cdt2_insert_points ,   cgal_cdt2_remove_points ,   cgal_cdt2_get_connectivity ,   cgal_cdt2_delete ,  

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

Authors

N.Meskini