Ellipse2d.TangentPoint Method

Computes a point on the ellipses circumference that is the enpoint of a line that tangents the ellipse.
public Point2d TangentPoint( 
   Point2d from
   Side side 
)

Parameters

from
Point2d

The startpoint of the tangent line searched.

side
Side

The side of ellipse the tangent point is at from the 'from-points' view.

Return Value

Point2d

A point that is the endpoint of a line that tangents the ellipse or null if the requested tangent does not exist (that is, when the from point is inside the ellipse)

.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