File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -183,13 +183,13 @@ private double[] findParameterTs(Line2D line)
183183 /// <summary>
184184 /// Returns the intersections of this circle with the given line segment, which lie within the segment.
185185 /// </summary>
186- /// <param name="line ">the given line-segment</param>
186+ /// <param name="segment ">the given line-segment</param>
187187 /// <returns>intersections as a Point2D Array, depending on the count.</returns>
188- public Point2D [ ] IntersectWith ( LineSegment2D line )
188+ public Point2D [ ] IntersectWith ( LineSegment2D segment )
189189 {
190- var ts = findParameterTs ( line . ToLine2D ( ) )
191- . Where ( t => 0 <= t && t <= line . Length ) ;
192- var result = ts . Select ( t => line . StartPoint + t * line . Direction ) . ToArray ( ) ;
190+ var ts = findParameterTs ( segment . ToLine2D ( ) )
191+ . Where ( t => 0 <= t && t <= segment . Length ) ;
192+ var result = ts . Select ( t => segment . StartPoint + t * segment . Direction ) . ToArray ( ) ;
193193 return result ;
194194 }
195195
You can’t perform that action at this time.
0 commit comments