Wire inside a wire

Hello 

I am super new to OpenCASCADE and i am trying to solve the following problem. I have two wires that i know for sure are cyclic and are parallel to OZ. I want to check if the one of the wires is inside the other. How can i do that?

Benjamin Bihler's picture

This question has already been asked here: https://www.opencascade.com/content/if-wire-totally-inside-other-wire.

I am still interested in other approaches. But my approach still works fine here.

Benjamin