<< convex_hull_2 cglab delaunay_2 >>

cglab >> cglab > convex_hull_3

convex_hull_3

Convex hull in 3d space.

Calling Sequence

H=convex_hull_3(x, y, z);

Parameters

x, y, z
: are vectors of points coordinates in 3d space.
H
: is (nbFacets,degreeOfFacet) array of points indices, each row of H contain one facet of the convex hull of X.

Description

The function convex_hull_3 computes the convex hull of a given set of three-dimensional points.

Examples

x =rand(1,10);
y =rand(1,10);
z =rand(1,10);
H=convex_hull_3(x,y,z);

See Also

For more details see CGAL Manual.

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

Authors


Report an issue
<< convex_hull_2 cglab delaunay_2 >>