Cut solids and surfaces from the planar curves and keep two objects.
Modelling > Auto Cut Keep Inside
Command: AutoCut
Steps:
1. Select planar closed curves and click Enter.
2. Select the objects to cut and click Enter.