Method Straighten
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
Straighten()
Straightens a polyline fitted with a spline, as AutoCAD's Straighten: the vertices the fitting made (flag 8)
are taken out, those of the frame (16) are vertices of the polyline again, and flag 4 of group 70 and its group 75 go.
A polyline that is not fitted is left as it is.
public void Straighten()
Exceptions
- InvalidOperationException
Thrown when the polyline is erased.