UtilityEx.GetLinesTangentToCircleFromPoint (Circle, Point3D) Method

Computes the tangent lines from a point to a circle.
Public Shared Function GetLinesTangentToCircleFromPoint( _ 
ByVal c As Circle, _ 
ByVal pt As Point3D
) As Line()
This language is not supported or no code example is available.
public static Line[] GetLinesTangentToCircleFromPoint( 
Circle c
Point3D pt 
)
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.

Return Value

Line[]

Returns a Line-type array of length 2 containing the tangent lines from the point to the circle. A Null array if the point is inside the circle or if the point does not lie on the circle's plane.

Remarks
 
For arcs, it returns even the tangent line that do not touch the arc. For a different result use GetLinesTangentToCircleFromPoint. The tangent lines are directed from the point toward the circle.

.NET Framework

Supported in: 4.8

In this article

Definition