53 auto triSet = this->stateTriangleSet()->getDataPtr();
54 if (triSet ==
nullptr)
return;
56 auto& pts = triSet->getPoints();
60 this->statePosition()->resize(pts.size());
61 this->stateVelocity()->resize(pts.size());
63 this->statePosition()->getData().assign(pts);
64 this->stateVelocity()->getDataPtr()->reset();