UtilityEx.GetCirclesTangentToTwoCircles Method
Parameters
- c1
- Circle
The first circle.
- c2
- Circle
The second circle.
- radius
- double
The radius of the tangent circles
- trim
- bool
If true, it trims the tangent circle at the tangent points.
- flip
- bool
It is significant only when trim is true. If false (default) it returns the shortest part of the tangent circle, if true it returns the longest part.
Return Value
Circle[]The array of circles tangent to both circles. For arcs, it returns only the circles that touch them. The StartPoint of the output circles lie always on c1. If trim is true, the trimmed arc goes from c1 to c2.