Does all the points in the ourput of convexHull function, a part of the convex hull formed?
1 view (last 30 days)
Show older comments
I have given a 3D data as input into the function convhull. The output given is a triplet. What does the triplet mean? Does the numbers signify the indices of the coordinates of the input matrix of points? Do all the points in the output indicate the convex hull formed??
1 Comment
José-Luis
on 16 Sep 2016
convexHull does not appear to be a built-in Matlab function. The built-in function is convhull, which works with two-dimensional data.
Answers (1)
Steven Lord
on 16 Sep 2016
I believe you're using the convexHull method for delaunayTriangulation objects. The documentation page states that the first output argument of that method in the case of a 3-D triangulation object is:
When DT is 3-D, K is a triangulation connectivity list containing the triangles on the convex hull.
So it lists which triangles in the Delaunay triangulation (in terms of indices into the delaunayTriangulation object's ConnectivityList property) make up the convex hull.
See Also
Categories
Find more on Bounding Regions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!