Add a New Comment (Rich Markup)
I've only been looking at this today, but that said, I'm not sure if simplify is not extraneous. Small experimentation with qhull gets me a set of random points in a square with rbox 50 D2 | qconvex G > a In this case the interior points are not displayed in geomview. To display the interior and as I understand it simplified points we need to run qconvex Ga instead of G. This shows all the points in the interior of the convex hull and the hull itself. My question is if the default behaviour in qhull is to make the convex hull and ignore the interior points, what is simplified by simplify? That said, I'm sure mathworks doesn't put things like simplify in their code without reason.
In the script from comment #1, ks=k. You can see the behavior of "simplify"= true in the script
xx = -3:1:3; yy = -3:1:3; [x,y] = meshgrid(xx,yy); k = convhull(x,y); ks = convhull(x,y, 'simplify', true); save chull1.mat
chull1.mat attached, Note that 'simplify'= true omits all the points that if we drop them, the convex hull will not change. In the 2D case it's simple: if a few points are on a straight segment, the inner points are omitted, and the end points are left. (file #39198)
@Juan: Can you try the example in comment #1 and report back. I can't implement the feature until I know what it's supposed to do.
Could you run the sample script in Matlab and upload the results so we can see what the "simplify" option does?
xx = -1:.05:1; yy = abs(sqrt(xx)); [x,y] = pol2cart(xx,yy); k = convhull(x,y); ks = convhull(x,y, 'simplify', true); save chull.mat
Option 'simplify' is not accepted. Couldn't find the equivalent for qhull https://ch.mathworks.com/help/matlab/ref/convhull.html http://www.qhull.org/html/qh-quick.htm#options
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only project members can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 3 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.11