def getIsIntersectingWithinLoop(loop, otherLoop, outsetLoop): "Determine if the loop is intersecting or is within the other loop." if euclidean.isLoopIntersectingLoop(loop, otherLoop): return True return euclidean.isPathInsideLoop( otherLoop, loop) != euclidean.isPathInsideLoop(otherLoop, outsetLoop)
def getIsIntersectingWithinLoop( loop, otherLoop, outsetLoop ): "Determine if the loop is intersecting or is within the other loop." if euclidean.isLoopIntersectingLoop( loop, otherLoop ): return True return euclidean.isPathInsideLoop( otherLoop, loop ) != euclidean.isPathInsideLoop( otherLoop, outsetLoop )