This is setCurveOnRelatedElement, a member of class IfcConnectionCurveGeometry.
IfcConnectionCurveGeometry Methods