Fix circle_2tangents() Figure.

This commit is contained in:
Garth Minette 2022-04-06 01:33:16 -07:00
parent b84ae2ac85
commit 92df3de1fe

View file

@ -1014,7 +1014,7 @@ function circle_circle_intersection(c1,r1,c2,r2,eps=EPSILON,d1,d2) =
// - NORMAL is the normal vector of the plane that the circle is on (UP or DOWN if the points are 2D).
// - TANPT1 is the point where the circle is tangent to the ray `[pt2,pt1]`.
// - TANPT2 is the point where the circle is tangent to the ray `[pt2,pt3]`.
// Figure(3D,Med,NoAxes):
// Figure(3D,Med,NoAxes,VPD=130,VPT=[27,22,8]):
// pts = [[45,10,-5], [10,5,10], [15,40,5]];
// rad = 15;
// circ = circle_2tangents(pt1=pts[0], pt2=pts[1], pt3=pts[2], r=rad, tangents=true);
@ -1161,7 +1161,7 @@ function circle_3points(pt1, pt2, pt3) =
// pt = The coordinates of the 2d external point.
// ---
// d = Diameter of the circle.
// Example(3D):
// Example(2D):
// cp = [-10,-10]; r = 30; pt = [30,10];
// tanpts = circle_point_tangents(r=r, cp=cp, pt=pt);
// color("yellow") translate(cp) circle(r=r);