104Intersection

Computes where a 3D line intersects a sphere, cylinder, or cone.Calcule où une droite 3D coupe une sphère, un cylindre ou un cône.

Python Math & dataMaths et données
sphere of radius 1
straight line going through the (0,0,0) point and of direction vector (1,0,0)
2 intersection points :
(-1.000, 0.000, 0.000)
(1.000, 0.000, 0.000)

Screenshots and terminal transcripts are real captures from running the exercise, not mockups.Les captures et transcriptions de terminal sont de vraies captures de l’exécution de l’exercice, pas des maquettes.