- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm pretty bad with 3D things, so I have no clue how to go about this, but the challenge is to determine if four (4) points are in the same plane or not. Yes, 3 points always define a plane but 4 or more points = not necessarily. I'm not even sure how to draw such points that they might be coplanar (except in Plan World of course). So you have to draw the conditions yourself for one group of 4 that is all coplanar and one that is not.
Your function should be named with your initials as a suffix, and shall contain the four points as input arguments, such as...
(defun coplanar-JU (p1 p2 p3 p4 / locals) ... ) ;; where all points are in the WCS.
OR
(defun coplanar-HAK (pts / locals) ... ) ;; where pts is a list of 4 or more WCS points.
It should return simply either T or nil.
It might be helpful to others if you label each of the points ("P1" "P2" etc.)
Please saveas/export to 2002 format so I can review (and learn from) your work.
Include all required subfunctions within the main function definition.
Have fun, OR ELSE!!
John F. Uhden
Solved! Go to Solution.