Extend ShapeUpgrade_UnifySameDomain algorithm working on cases, where SurfaceOfRevolution or SurfaceOfLinearExtrusion was made on basis of TrimmedCurve. Original issue: 0033328