usage.py
1 def display_usage() -> int: 2 print("USAGE\n\t./104intersection opt xp yp zp xv yv zv p\n\n") 3 print( 4 "DESCRIPTION\n\topt\t\tsurface option: 1 for a sphere, 2 for a cylinder, 3 for a cone" 5 ) 6 print( 7 "\t(xp, yp, zp)\tcoordinates of a point by which the light ray passes through" 8 ) 9 print("\t(xv, yv, zv)\tcoordinates of a vector parallel to the light ray") 10 print("\tp\t\tparameter: radius of the sphere, radius of the cylinder, or") 11 print("\t\t\tangle formed by the cone and the Z-axis") 12 return 0