Intersect2d.CircleLineParametric (Double, Double, Double, Double, Double, Double, Double, out Double, out Double) Method
Public Shared Function CircleLineParametric( _
ByVal xj As Double, _
ByVal yj As Double, _
ByVal rj As Double, _
ByVal x0 As Double, _
ByVal y0 As Double, _
ByVal x1 As Double, _
ByVal y1 As Double, _
ByRef t1 As Double, _
ByRef t2 As Double _
) As Integer
This language is not supported or no code example is available.
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.