<< dt2_insert_points cglab dt3_delete >>

cglab >> cglab > dt2_remove_points

dt2_remove_points

Remove the existante points from dt2.

Calling Sequence

dt2_remove_points(ptr,x,y);

Parameters

x , y
: are vectors of coordinates of points to remove from dt2.
ptr
: is a pointer representing dt2.

Description

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

Examples

x = rand(1,10);
y = rand(1,10);
[tri,ptr] = delaunay_2(x,y);
dt2_remove_points(ptr,x,y);
new_tri = dt2_get_connectivity(ptr)
dt2_delete(ptr,"ptr");

See Also

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

Authors


Report an issue
<< dt2_insert_points cglab dt3_delete >>