<< dtn_get_connectivity CG-lab interp3 >>

CG-lab >> CG-lab > dtn_insert_points

dtn_insert_points

Insert new points in dtn.

Calling Sequence

dtn_insert_points(ptr,new_points);

Parameters

new_points
: is an (m,n) array representing m new points in n-D space.
ptr
: is a pointer representing dtn.

Description

Given a pointer ptr of dtn, dtn_insert_points(ptr,new_points) inserts a new points in dtn.

Examples

x = rand(1,5);
y = rand(1,5);
z = rand(1,5);
points = [x' y' z'];
[tri,ptr] = delaunay_n(points);
tri
new_x = rand(1,2);
new_y = rand(1,2);
new_z = rand(1,2);
new_points = [new_x' new_y' new_z'];
dtn_insert_points(ptr,new_points);
new_tri = dtn_get_connectivity(ptr)
dtn_delete(ptr,"ptr");

See Also

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

Authors

<< dtn_get_connectivity CG-lab interp3 >>