function lane_edges = UAM_lane_edges_array(airway)
%

THRESH = 0.01;

lanes = airway.lanes;
num_lanes = length(lanes(:,1));

lane_edges = zeros(num_lanes,num_lanes);

for k1 = 1:num_lanes
    pt1 = lanes(k1,4:6);
    for k2 = 1:num_lanes
        pt2 = lanes(k2,1:3);
        if norm(pt1-pt2)<THRESH
            lane_edges(k1,k2) = 1;
        end
    end
end
