Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: ValueTuple<CircleD, CircleD>? FindTangentCircles(CircleD, double)

  • Declared in: RT.Util.Geometry.CircleD

Declaration

public ValueTuple<CircleD, CircleD>? FindTangentCircles(
    CircleD other,
    double targetRadius
)

Summary

Given this circle and another circle, tries to find a third and fourth circle with a given target radius such that the new circles are both tangent to the first two.

Parameters

CircleDother The other circle.
doubletargetRadius Target radius for output circles.

Returns

The two output circles if they exist. If the input circles are further apart than twice the target radius, the desires circles do not exist and null is returned.