HM_ExtAPI::GeomCurveConvertToSmooth()
Converts curve to piecewise smooth curve.
Syntax
bool GeomCurveConvertToSmooth(
const HM_EntityGeometryCurve & curve,
HM_EntityGeometryCurve& smooth_curve
);
Type
HyperMesh Ext API Function
Description
The function call creates new curve object. If the curve is found to be already smooth then identical copy of the curve is created. To free the object use the function HM_ExtAPI::ReleaseGeomCurve(). If the function succeeds, the return value is true.
If the function fails, the return value is false. To get extended value information, call HM_ExtAPI::GetLastErrorCode().
Requires including hm_extapi.h.
Inputs
- curve
- [in] - Handle to curve object that was returned by previous calls to API function.
- smooth_curve
- [out] - Handle to curve object representing smooth curve.
Errors
None.