Circle2d.TangentPoint Method

Computes a point which is the tangent point on the circles circumference seen from a specified point.
public Point2d TangentPoint( 
   Point2d from
   Side side 
)

Parameters

from
Point2d

The 'from point' used, ie the start point of the line that tangents the circle.

side
Side

Side of circles center when looking from the 'from-point' the tangent point is at (selects which of the two tangent points that are calculated).

Return Value

Point2d

A point on the circle that is the endpoint of a line tangenting the circle. null is returned if no tangent point exists.

.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