<< dt3_get_connectivity cglab dt3_remove_points >>

cglab >> cglab > dt3_insert_points

dt3_insert_points

Insert new points in dt3.

Calling Sequence

dt3_insert_points(ptr,new_x,new_y,new_z);

Parameters

new_x,new_y,new_z
: are vectors of new points coordinates.
ptr
: is a pointer representing dt3.

Description

Given a pointer ptr of dt3, dt3_insert_points(ptr,new_x,new_y) inserts a new points in dt3.

Examples

x = rand(1,5);
y = rand(1,5);
z = rand(1,5);
[tri,ptr] = delaunay_3(x,y,z);
tri  
new_x = rand(1,2);
new_y = rand(1,2);  
new_z = rand(1,2); 
dt3_insert_points(ptr,new_x,new_y,new_z);
new_tri = dt3_get_connectivity(ptr)
dt3_delete(ptr,"ptr");

See Also

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

Authors


Report an issue
<< dt3_get_connectivity cglab dt3_remove_points >>