Question: How can I create an ellipse and an ellipsoid?

I need to create an ellipse and an ellipsoid (ellipse in 3D) through code. How would I be able to do this? Can someone please give me an example for each?


Also, I will need to create a line for an ellipse and a plane for an ellipsoid that intersect. Would I be able to find the intersecting points? Would I be able to find the function for the curve line that is created when a plane intersects an ellipsoid? Also, how would I find the surface area and volume for each piece of ellipse and ellipsoid if it was cut by the line (ellipse) or plane (ellipsoid)?



Hope it makes sense. If any questions, please feel free to ask and I will clarify parts that don't make sense.


Please Wait...