The wikipedia entry for convex hull shows a 2-d example of a random set of points on x-y plane, and the "elastic band" solution that bounds the points with the convex hull solution. The definition of the solution seems to be the one that achieves a minimum perimeter length, although I don't think that is explicitly stated. Nor is it stated that the solution might result (or does result) in the maximal area solution (among a set of possible solutions).
I'm trying to understand, when applied to a 3-D set of points, if the convex hull solution is attempting to either (a) give a solution with the minimum surface area, or (b) give a solution with the maximal enclosed volume?
If (a), then is the resulting enclosed volume always turn out to be the maximal one? Or is that coincidental?
Additional clarification / example:
These are the x,y,z coordinates of 8 points:
(1) 49.186, 42.474, -8.54 (2) 40.010, 37.828, -6.929 (3) 46.212, 46.602, 2.459 (4) 39.167, 41.661, 0 (5) 51.601, 32.308, -4.584 (6) 44.459, 30.948, -4.876 (7) 51.316, 35.726, 5.61 (8) 42.176, 32.551, 1.811
This is the geometric center of the above points:
(9) 45.51588, 37.51225, -1.881125
The first iteration of computing volume by arranging the following 12 triangular surface facets:
(node # for each facet, and the corresponding quadrahedral volume using node #9)
1, 2, 5, 83.96766 2, 5, 6, 41.32112 1, 2, 3, 101.5469 2, 3, 4, 51.66822 1, 3, 5, 87.59101 3, 5, 7, 83.91972 5, 6, 7, 65.09879 6, 7, 8, 62.75732 2, 4, 6, 39.78588 4, 6, 8, 45.75238 3, 4, 7, 83.37383 4, 7, 8, 75.34743
Total volume: 822.13026
That is just one out of 64 possible arrangements of surface facets. The volumes of all 64 arrangements are (sorted from smallest to largest volume, showing integer results for brevity):
773 777 783 785 787 789 795 798 822 824 825 825 827 828 831 833 833 835 835 835 837 837 837 838 839 840 843 845 847 847 849 850 872 873 875 875 876 878 882 883 884 885 885 885 886 887 887 888 888 890 893 895 897 897 898 900 923 927 933 935 936 938 945 948
A convex hull algorithm (offhand I don't know which one) gives an answer that exactly matches the largest volume (948.78). The algorithm determines it's own facet set (ie not specified by the operator). When run on a time-series of data where the coordinates are changing slightly, the convex hull consistently gives the largest volume (out of 64 possible volumes). I believe that the corresponding surface area is almost always the smallest (again out of 64 possible outcomes).
So I was wondering if the proper way to code a convex hull algorithm is to seek a solution with the smallest surface area, instead of a solution that yields the largest volume.
Just to add - am I correct in thinking that the "convex" part of convex-hull is meant to indicate a positive (convex) surface curvature, and not negative (or concave) curvature? In other words (in a 3-D case) if a membrane is stretched around a set of points (or around a dumb bell) that any cutting plane that is passed through the convex-hull solution must give a projected 2-d path with a positive curvature at all points on the path. A dumb-bell with a pinched hull membrane would exhibit negative curvature and hence could not be called a "convex" hull. Does this make sense? If so, the maximal-volume solution is the "correct" solution for the convex hull surface.
Each of these 64 solutions could be a "hull" surface that bounds the 8 pointsThe convex hull is unique. – dxiv Feb 06 '16 at 01:12the volume of an object that is roughly box-shaped and is defined by 8 pointsmeans. A 3Dobjectis not defined by 8 points. If it's a polyhedron, you need to define the edges and sides. Otherwise, you need to define whatmembraneyou have in mind, with what physical characteristics. – dxiv Feb 07 '16 at 06:03qhullfrom Qhull Downloads gives922.194. – dxiv Feb 08 '16 at 05:22