You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/geometry/lineIntersection.h
+12-14
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,10 @@
5
5
* Source: https://vlecomte.github.io/cp-geo.pdf
6
6
* Description:\\
7
7
\begin{minipage}{75mm}
8
-
If a unique intersection point of the lines going through s1,e1 and s2,e2 exists {1, point} is returned. If no intersection point exists {0, (0,0)} is returned and if infinitely many exists {-1, (0,0)} is returned. The wrong position will be returned if P is Point<ll> and the intersection point does not have integer coordinates. Products of three coordinates are used in intermediate steps so watch out for overflow if using int or long long.
9
-
\end{minipage}
8
+
If a unique intersection point of the lines going through s1,e1 and s2,e2 exists {1, point} is returned. If no
9
+
intersection point exists {0, (0,0)} is returned and if infinitely many exists {-1, (0,0)} is returned. The wrong
10
+
position will be returned if P is Point<ll> and the intersection point does not have integer coordinates. Products of
11
+
three coordinates are used in intermediate steps so watch out for overflow if using int or long long. \end{minipage}
0 commit comments