I'm programming a visual editor where the user can modify btConvexHullShapes, in a way similar to a modeling program.
As the user adjusts the shape, I'd like (in my code) to simply clear all the points of the btConvexHullShape and re-add the updated points.
At present, I didn't find any member functions on class btConvexHullShape for clearing the points, or even removing them.
It seems like the expected approach is to create a new btConvexHullShape, add the new points, then delete the old btConvexHullShape.
For performance reasons (e.g., avoiding unnecessary calls to new and delete), I'd prefer to update the btConvexHullShape in place.
E.g., call pMyShape->clearAllPoints(), then add the new points.
By the way, if btConvexHullShape::m_unscaledPoints was a protected member (instead of private), I could create a derived class
(e.g., class MyConvexHullShape : public btConvexHullShape) and simply implement clearAllPoints() in the derived class.
Unfortunately, m_unscaledPoints is private, so that's not an option.
Any suggestions are appreciated. Thanks!

Jim