giskumar Posted November 3, 2012 Posted November 3, 2012 Hi All, I am having 2 Pointlists of closed polyline vertices which are partially overlaped. Please tell me How can i calculate shape of overlapped portion from my point lists. Thanks, Kumar. Quote
Tharwat Posted November 3, 2012 Posted November 3, 2012 Your description is not clear at least to me , an image might be clearer to read or more details of the process that you planning to go with . Quote
giskumar Posted November 3, 2012 Author Posted November 3, 2012 Hi, Please find the attached snapshot. I would like to find the common area of two polygons(marked with circle). Thanks, Kumar. Quote
Tharwat Posted November 3, 2012 Posted November 3, 2012 Pick a point in the common area . (defun c:Test (/ e ent) (setq e (entlast)) (vl-cmdf "_.-boundary" pause "") (setq ent (entlast)) (if (and ent (not (equal e ent))) (progn (alert (strcat "Total Area : " (rtos (vla-get-area (vlax-ename->vla-object ent)) 2) ) ) (entdel ent) ) ) (princ) ) Quote
giskumar Posted November 5, 2012 Author Posted November 5, 2012 Hi, This is working fine, But for large area closed polygons boundary command is creating problems and returning irregular boundary out (when zoom to set to extends of entity). Any alternate solution to avoid Zoom,Boundary problems. Regards, Kumar. Quote
elfert Posted November 8, 2012 Posted November 8, 2012 How about Hatching the area and get the area from the hatch? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.