def getIsIntersectingWithinLoop(loop, otherLoop, outsetLoop):
 if euclidean.isLoopIntersectingLoop(loop, otherLoop):
  return True
 return (euclidean.isPathInsideLoop(otherLoop, loop) != euclidean.isPathInsideLoop(otherLoop, outsetLoop))

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