You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python3.10/site-packages/vedo/shapes.py:971: RuntimeWarning: invalid value encountered in arccos
In the image , the RoundedLine is on the left and a Line is on the right.
I will look closely at the data and see if I can figure out why it may be doing this.
Caught it in the act:
u [116.42391429 0. 0. ] v [240.26706128 0. 0. ]
np.dot(u,v) 27972.831748915956 du 116.42391428905057 dv 240.2670612797524
np.dot(u,v)/du/dv 1.0000000000000002
Because the argument is > 1.0 np.arccos returns a 'nan' causing the rounded line to be drawn incorrectly.
The text was updated successfully, but these errors were encountered:
PinkMushroom
changed the title
Rounded Line generates warning displays incorrectly
Rounded Line generates warning, displays incorrectly
Apr 23, 2024
python3.10/site-packages/vedo/shapes.py:971: RuntimeWarning: invalid value encountered in arccos
In the image , the RoundedLine is on the left and a Line is on the right.
I will look closely at the data and see if I can figure out why it may be doing this.
Caught it in the act:
Because the argument is > 1.0 np.arccos returns a 'nan' causing the rounded line to be drawn incorrectly.
The text was updated successfully, but these errors were encountered: