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

Computes the parametric points of intersection on a line vs. a circular object. The parametric range of line segment is 0.0-1.0. Smaller or larger parameters than this range will be computed if the points of intersection is out of segment.
public static int CircleLineParametric( 
   ICircular2d c
   Line2d l
   out double t1
   out double t2 
)

Parameters

c
ICircular2d

The circle for intersection.

l
Line2d

The infinite line for intersection

t1
double

Set to the first parameter of intersection.

t2
double

Set the the second line of intersection.

Return Value

int

The number of intersections found (0,1 or 2).

.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