C++
Acad::ErrorStatus straighten();
Description
This function removes all spline-fit vertices and restores the original control point polygon mesh. This operation performs the same modification as the PEDIT command "Desmooth" option.
Returns Acad::eOk.