UtilityEx.GetLinesTangentToCircleFromPoint (Circle, Point3D, out Line()) Method

Computes the tangent lines from a point to a circle.
Public Shared Function GetLinesTangentToCircleFromPoint( _ 
ByVal c As Circle, _ 
ByVal pt As Point3D, _ 
ByRef tangentSegments As Line() _ 
) As Integer
This language is not supported or no code example is available.
public static int GetLinesTangentToCircleFromPoint( 
Circle c
Point3D pt
out Line[] tangentSegments 
)
This language is not supported or no code example is available.

Parameters

c
Circle

The circle.

pt
Point3D

The point on the circle's plane and outside it.

tangentSegments
Line[]

Array containing the not-null tangent lines.

Return Value

int

The number of (not-null) lines in tangentSegments

Remarks
 
For arcs, it returns only the lines that touch them. The tangent lines are directed from the point toward the circle.

.NET Framework

Supported in: 4.8

In this article

Definition