MATLAB Answers

Does all the points in the ourput of convexHull function, a part of the convex hull formed?

1 view (last 30 days)
Rishika Sen
Rishika Sen on 16 Sep 2016
Commented: Rishika Sen on 17 Sep 2016
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
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.
Maybe you should have a look at convhulln().

Sign in to comment.

Answers (1)

Steven Lord
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.

  1 Comment

Sign in to comment.

Sign in to answer this question.

Tags