IdlGrPolygon - Intersection with planes and lines [message #32941] |
Tue, 19 November 2002 10:25 |
Martin Downing
Messages: 136 Registered: September 1998
|
Senior Member |
|
|
Hi all,
Has anyone written code they wish to share which will give the intersection
of a polyon surface* with a 3D plane, and also the intersection of a polygon
surface with a line (3d ray)?
One object graphics way to do the plane intersect could be to transform the
object to map the plane of intersection onto the z = 0, then use a very
small zclip range and the result would be given in image form, however I
would very much like the "exact" geometric solution, i.e the intersect as a
polyline for the plane and point(s) for the line (kind of graphics gems type
stuff)
really not too keen to code this right now especially if its already done /
half done!
regards
Martin
*typically represented as IdlgrPolygon
--
----------------------------------------
Martin Downing,
Clinical Research Physicist,
Grampian Orthopaedic RSA Research Centre,
Woodend Hospital, Aberdeen, AB15 6LS.
|
|
|