Return to Statement


Tangent to Two Curves Example

Creating two lines which are tangent to two circles.

LN1 is created using the LEFT and RIGHT minor words to specify which side of the circles the lines should be created tangent to.

LN2 is created using a combination of the RIGHT minor word and PT2.

$$
$$ Declaration
$$
ENTITY/PT1,CR1,CR2,LN1,LN2
$$
$$ Point Definition
$$
PT1=POINT/1,1
CR1=CIRCLE/-1,0,.5
CR2=CIRCLE/1,0,.5
$$
$$ Line Definition
$$
LN1=LINE/LEFT,TANTO,CR1,RIGHT,TANTO,CR2 LN2=LINE/RIGHT,TANTO,CR1,PT1,TANTO,CR2

Line Tangent to Two Curves