SCurveEditor::CreateCurveObject

Function to create a curve object and return its reference.