hdi::core::Bezier::tAtPoint - Printable Version +- Hot Door CORE Forum (http://hotdoorcore.com/forum) +-- Forum: All forums (http://hotdoorcore.com/forum/forumdisplay.php?fid=1) +--- Forum: Feature requests (http://hotdoorcore.com/forum/forumdisplay.php?fid=7) +--- Thread: hdi::core::Bezier::tAtPoint (/showthread.php?tid=231) |
hdi::core::Bezier::tAtPoint - Rick Johnson - 01-06-2020 It would be helpful for the Bezier class to test for an ArtboardPoint along its length. Perhaps it could return true if there's a hit on that bezier, and pass a t value by reference. A useful argument to include would be a tolerance, as with HitData. One reason this would be helpful is because a HitTest may hit the same path more than once, but only the lowest-index segment will be recognized. RE: hdi::core::Bezier::tAtPoint - brendon - 01-14-2020 Rick, We want to keep the Bezier class handling bezier needs only. This is something, in our opinion, that should only be handled by the HitData class. Brendon |