I'm working on a project involving rendering of the Acis file format (sat). Rendering a torus, sphere or cone is simple enough. I had most of that working the first couple days. but Acis has a concept of "edges" that serve as bounding areas fot these surfaces. edges are basically curves in 3d space that as you can imagine must land on the surface itself.

So here's the question to anyone who works in 3d often... Is there a nice algorithm for dealing with clipping on any of these surface types. I've got one semi developed but I'm not completely confident in it.