gaurav Posted January 27, 2012 Share Posted January 27, 2012 (edited) Hello Folks, If i remember correctly, there was something available/related to test polygon's convexity . Something as simple as list connected edges and check for their cross product. Can't seem to find it. any suggestions or other ideas ? Thanks, Edited January 27, 2012 by vectorblur Quote Link to comment Share on other sites More sharing options...
Erik_JE Posted January 27, 2012 Share Posted January 27, 2012 If a polygon consists of a set of edges E ordered cw or ccw then for each edge e take the dot product between it and the following edge in the set. If all dot products are positive or negative then the polygon is convex. Quote Link to comment Share on other sites More sharing options...
gaurav Posted January 27, 2012 Author Share Posted January 27, 2012 If a polygon consists of a set of edges E ordered cw or ccw then for each edge e take the dot product between it and the following edge in the set. If all dot products are positive or negative then the polygon is convex. Yes, but i think this simple check was available under some op, where exactly i don't remember now. Quote Link to comment Share on other sites More sharing options...
magneto Posted January 29, 2012 Share Posted January 29, 2012 PolyDoctor SOP in H12, amirite? Quote Link to comment Share on other sites More sharing options...
gaurav Posted January 29, 2012 Author Share Posted January 29, 2012 PolyDoctor SOP in H12, amirite? H12, I must have been dreaming about it. Just saw jason's reply to one of the post related to cleaning up polys, He too mentioned Polydoctor there. Nice name for a op to have. Any news when H12 hits the apprentice release ? I guess Beta must be nearing its end soon. Quote Link to comment Share on other sites More sharing options...
petz Posted January 29, 2012 Share Posted January 29, 2012 can´t you use the divide-sop for this? petz Quote Link to comment Share on other sites More sharing options...
gaurav Posted January 29, 2012 Author Share Posted January 29, 2012 can´t you use the divide-sop for this? Aha.. that's awesome. Did not occur to me to use divide that way. Thanks, Quote Link to comment Share on other sites More sharing options...
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.