1
$\begingroup$

I need to draw many geodesics on a sphere. Is it better to follow @jose in his instructive response to the post, Plot a partition of the sphere given vertices of polygons, using GeoPath & GeoGraphics?


         


Or just compute points along the geodesic and use Line in Graphics3D? I know how to do the latter:


         
          Image from a MathOverflow question.
I would like the ability to rotate the 3D object with the mouse, which seems not possible with GeoGraphics? But it seems so inefficient to represent geodesics by lists of 3D points when there is a GeoPath primitive.

Answered by J.M.'s link to his BSplineCurve arcs code:


          GSphere


$\endgroup$
3
  • 1
    $\begingroup$ I gave a routine to draw (acute or obtuse) great circle arcs here. If you expect to be drawing reflex arcs and entire great circles as well, the routine there will need to be modified. $\endgroup$ Commented Aug 19, 2017 at 11:54
  • $\begingroup$ @J.M.: Thanks! That might be the solution I'm seeking. Very concise code, exactly what I need. $\endgroup$ Commented Aug 19, 2017 at 12:52
  • 1
    $\begingroup$ That's a snazzy-looking sphere partition you have there! :) $\endgroup$ Commented Aug 19, 2017 at 15:06

0

Browse other questions tagged or ask your own question.