Share

splineFit Method

Overload List

Method Description
AcDb2dPolyline::splineFit () This function removes any existing spline or curve-fit vertices, converts all remaining vertices to spline-control vertices, and generates a new set of spline-fit vertices. The resultant polyline is spline fit through the new set of vertices. This operation performs the same modification as the PEDIT command "Spline fit" option.Returns Acad::eOk if successful.
AcDb2dPolyline::splineFit (AcDb::Poly2dType, Adesk::Int16) This function removes any existing spline or curve-fit vertices, converts all remaining vertices to spline-control vertices, and generates a new set of spline-fit vertices. The resultant polyline is spline fit through the new set of vertices. This operation performs the same modification as the PEDIT command "Spline fit" option except that it uses splineType and splineSegs as control parameters for the splineFit operation rather than the splinetype and splinesegs database/system variables.Returns Acad::eOk if successful.

Was this information helpful?