Intersect2d.CircleLineParametric (Double, Double, Double, Double, Double, Double, Double, out Double, out Double) Method

Computes the parameters on a line where it intersects a circular object using double data for input geometry.
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.
public static int CircleLineParametric( 
double xj
double yj
double rj
double x0
double y0
double x1
double y1
out double t1
out double t2 
)
This language is not supported or no code example is available.
public:  
static int CircleLineParametric( 
double xj
double yj
double rj
double x0
double y0
double x1
double y1
double& t1
double& t2 
)
This language is not supported or no code example is available.
public static function CircleLineParametric( 
xj : double
yj : double
rj : double
x0 : double
y0 : double
x1 : double
y1 : double
t1 : double
t2 : double 
) : int;
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

int

The 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.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition