[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49774] convhull doesn't accept option simplif
From: |
Avinoam Kalma |
Subject: |
[Octave-bug-tracker] [bug #49774] convhull doesn't accept option simplify |
Date: |
Sun, 11 Dec 2016 21:57:42 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36 |
Follow-up Comment #3, bug #49774 (project octave):
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)
_______________________________________________________
Additional Item Attachment:
File name: chull1.mat Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49774>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/