Hot Door CORE Forum

Full Version: hdi::core::Bezier::tAtPoint
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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