public bool CheckSharePoints(RoadSection testRoad) { for (int i = 0; i < 2; i++) { for (int j = 0; j < 2; j++) { if (testRoad.Points[i] == Points[j]) { return(true); } } } return(false); }
public bool CheckOverlap2D(RoadSection testRoad) { return(LineIntersection.DoIntersect(Points, testRoad.Points)); }