mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
Merge pull request #833 from revarbat/revarbat_dev
Fix circle_2tangents() Figure.
This commit is contained in:
commit
e54553d70a
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue