Skip to content

Commit c2612b6

Browse files
committed
doc: fix the variable-name list in comment
1 parent baf6605 commit c2612b6

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/Spatial/Euclidean/Circle2D.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,11 @@ private double[] findParameterTs(Line2D line)
154154
// (p-cc)^2=r^2 (eq1)
155155
// p=s+t*d (eq2)
156156
// , 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.
157+
// c is the center of the circle,
158+
// 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.
159162
// Substituting (eq2) into (eq1) yields:
160163
// ((s+t*d)-c)^2=r^2 (eq3)
161164
// (eq3) reduces to the following quadratic equation: a*t^2 + b*t + c==0

0 commit comments

Comments
 (0)