Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucsd!riscsm!scripps.edu From: bergman@scripps.edu (Larry Bergman) Newsgroups: comp.graphics Subject: clipping code? Message-ID: <463@riscsm.scripps.edu> Date: 17 Aug 90 22:16:36 GMT Sender: news@Scripps.EDU Organization: Research Institute of Scripps Clinic; La Jolla, CA Lines: 8 I'm looking for an implementation of the Cyrus-Beck algorithm for clipping a 3D line segment to an arbitrary (convex) 3D polygon. If you have code please pass it along. I'd love to get Smalltalk code (hah!), but C or C++ will do just fine. (If you have another algorithm that does the same thing, I'm not picky). Thanks, Larry