michaelk Posted September 26, 2020 Share Posted September 26, 2020 In a parametric object is there a way to tell if a point inside the parametric object is in the boundary of another object not in the parametric object? Quote Link to comment
Julian Carr Posted September 26, 2020 Share Posted September 26, 2020 You could try : PtInPoly(pX, pY : REAL; h : HANDLE):BOOLEAN; Quote Link to comment
michaelk Posted September 26, 2020 Author Share Posted September 26, 2020 Love it when Australia is up! Thanks, Jualian. I'll give that a try. Quote Link to comment
michaelk Posted September 26, 2020 Author Share Posted September 26, 2020 Here's my confusion. Will the point in a parametric object know where it is relative to the rest of the world? Or just relative to its own insertion point? Back to the function reference… Quote Link to comment
Pat Stanford Posted September 26, 2020 Share Posted September 26, 2020 Tell us what you are really trying to do rather than asking cryptic questions. ;-) Quote Link to comment
Julian Carr Posted September 26, 2020 Share Posted September 26, 2020 You need to get the insertion point of the PIO using GetSymLoc() then add the internal offset within the PIO to that. 1 Quote Link to comment
JBenghiat Posted September 26, 2020 Share Posted September 26, 2020 15 hours ago, Julian Carr said: You need to get the insertion point of the PIO using GetSymLoc() then add the internal offset within the PIO to that. You also need to take into account the PIO’s rotation. RelativeCoords can help with that. Also, make sure to keep straight whether you’re translating the external point to the plug-in space or the other way around. Quote Link to comment
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.