+
+/// Creates passing point or tangent curve basing on the given attributes are initialized.
+/// \param[in] theRefAttr prefered attribute to be converted
+/// \param[in] theDefaultAttr default attribute if theRefAttr is not initialized
+/// \param[out] theTangentCurve tangent curve if theRefAttr refers to an edge
+/// \param[out] thePassingPoint passing point if theRefAttr does not refer to an edge
+void convertRefAttrToPointOrTangentCurve(const AttributeRefAttrPtr& theRefAttr,
+ const AttributePtr& theDefaultAttr,
+ std::shared_ptr<GeomAPI_Shape>& theTangentCurve,
+ std::shared_ptr<GeomAPI_Pnt2d>& thePassingPoint);