RRT/src/world.py
def intersect(A,B,C,D):
    '''
    Check if lines AB and CD intersect
    '''
    return ccw(A,C,D) != ccw(B,C,D) and ccw(A,B,C) != ccw(A,B,D)

    Check if lines AB and CD intersect
    
Check if lines AB and CD intersect
Check if lines AB and CD intersect
def intersect(A,B,C,D):
    return ccw(A,C,D) != ccw(B,C,D) and ccw(A,B,C) != ccw(A,B,D)
def intersect ( A , B , C , D ) : return ccw ( A , C , D ) != ccw ( B , C , D ) and ccw ( A , B , C ) != ccw ( A , B , D )
Check if lines AB and CD intersect
Check if lines AB and CD intersect
'''
    Check if lines AB and CD intersect
    '''
A
B
C
D