[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55895] __go_patch__ fails when NaN vertices e
From: |
Eddy |
Subject: |
[Octave-bug-tracker] [bug #55895] __go_patch__ fails when NaN vertices exist |
Date: |
Thu, 14 Mar 2019 15:26:50 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #1, bug #55895 (project octave):
I'm looking into the problem.
One thing I found is, the SVD based co-planar test somehow accept NaN as input
(do not complain about it, in contrast to eig). So it is potentially a bug.
e.g. this create a infinite loop.
%v = [0 0 0; 1 0 0; 0 1 0; 0 0 1; nan nan nan];
f = 1:rows(v)
patch("vertices", v, "faces", f);
To fix it, I need to make sure some detail of __go_patch__.
1. When the last vertex contains NaN, what is the expected result? Still a
polygons (a closed loop) but with less edges? or a open loop?
2. If a open loop is expected (as what ver 5.1.0 shown), what should be the
normal vector of that face? Especially what if the whole face is not in a
plane. It is not a typical face actually.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55895>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55895] patch() fails when NaN vertices exist, Rik, 2019/03/12
- [Octave-bug-tracker] [bug #55895] __go_patch__ fails when NaN vertices exist, Rik, 2019/03/12
- [Octave-bug-tracker] [bug #55895] __go_patch__ fails when NaN vertices exist,
Eddy <=
- [Octave-bug-tracker] [bug #55895] __go_patch__ fails when NaN vertices exist, Eddy, 2019/03/14
- [Octave-bug-tracker] [bug #55895] __go_patch__ fails when NaN vertices exist, Rik, 2019/03/14
- [Octave-bug-tracker] [bug #55895] __go_patch__ fails when NaN vertices exist, Eddy, 2019/03/16
- [Octave-bug-tracker] [bug #55895] __go_patch__ fails when NaN vertices exist, Markus Mützel, 2019/03/16
- [Octave-bug-tracker] [bug #55895] __go_patch__ fails when NaN vertices exist, Eddy, 2019/03/17
- [Octave-bug-tracker] [bug #55895] __go_patch__ fails when NaN vertices exist, Markus Mützel, 2019/03/17
- [Octave-bug-tracker] [bug #55895] __go_patch__ fails when NaN vertices exist, Eddy, 2019/03/17
- [Octave-bug-tracker] [bug #55895] __go_patch__ fails when NaN vertices exist, Markus Mützel, 2019/03/17
- [Octave-bug-tracker] [bug #55895] __go_patch__ fails when NaN vertices exist, Eddy, 2019/03/17
- [Octave-bug-tracker] [bug #55895] __go_patch__ fails when NaN vertices exist, Markus Mützel, 2019/03/21