Brep.Trim principle

Hello,

I would like to understand how Trim method is executed within Brep class. I mean what is the rule that leaves relevant part of the brep? I have tried to change direction of the face - however seems - it is independent from this.

Thanks,
Dmitriy

Does this help?