<< cdt2_remove_points CG-lab cgal_streamlines >>

CG-lab >> CG-lab > cgal_stream_2

cgal_stream_2

Computes the streamlines of a given regular vector field.

Calling Sequence

cell = cgal_stream_2(u,v,sd,[step])

Parameters

u,v
: are two vectors representing the vector field.
sd
: is the separating distance allowed between two streamlines.
step
: is the intergration step, by default it is fixed to 1.
cell
: is cell array containing the streamlines.

Description

Creates a placement of streamlines according to a specified density and gives access to those streamlines via a cell array.

Examples

p=cglab_getrootpath();
load(p+"/demos/field","u","v");
c = cgal_stream_2(u,v,1.5);

See Also

for more details see CGAL Manual.

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

Authors

<< cdt2_remove_points CG-lab cgal_streamlines >>