dmurdoch / rgl

rgl is a 3D visualization system based on OpenGL. It provides a medium to high level interface for use in R, currently modelled on classic R graphics, with extensions to allow for interaction.
https://dmurdoch.github.io/rgl/
GNU General Public License v2.0
85 stars 20 forks source link

Make arc3d() handle degenerate cases #357

Closed dmurdoch closed 1 year ago

dmurdoch commented 1 year ago

The arc3d() function can't handle degenerate arcs, e.g. ones that only change their distance from the center by moving out in a straight line. There should also be some compromise for arcs starting or ending exactly in the center.