We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent baf6605 commit c2612b6Copy full SHA for c2612b6
1 file changed
src/Spatial/Euclidean/Circle2D.cs
@@ -154,8 +154,11 @@ private double[] findParameterTs(Line2D line)
154
// (p-cc)^2=r^2 (eq1)
155
// p=s+t*d (eq2)
156
// , where p is the point on the line and/or circle,
157
- // cc is the center of the circle and
158
- // r is the radius of the circle.
+ // c is the center of the circle,
+ // r is the radius of the circle,
159
+ // s is the starting point of the line,
160
+ // t is the parameter and
161
+ // d is the line direction.
162
// Substituting (eq2) into (eq1) yields:
163
// ((s+t*d)-c)^2=r^2 (eq3)
164
// (eq3) reduces to the following quadratic equation: a*t^2 + b*t + c==0
0 commit comments