Intersect2d.CircleLineParametric (Double, Double, Double, Double, Double, Double, Double, out Double, out Double) Method
Parameters
- xj
- double
Center x of circle.
- yj
- double
Center y of circle.
- rj
- double
Radius of circle.
- x0
- double
Start x of line.
- y0
- double
Start y of line.
- x1
- double
End x of line.
- y1
- double
End y of line.
- t1
- double
The first intersection parameter of line. Parametric range is 0-1.
- t2
- double
The second intersection parameter of line. Parametric range is 0-1.
Return Value
intThe number of intersections. 0 if the circles do not intersect, 1 if they touches in one point or 2 if there is a real intersection.