Create tools for circle in circle triangle

Yuriy Kazakov shared this question 1 week ago
Answered

How to create tools for circle inside triangle - two side are lines and side - circlesegment? My GG tool give me only one point of consern two circles.

INPUT - circle A, two point C,D on cicrle A, point E inside circle A

OUTPUT - circle B (concern CE, DE and circle A), three points of concern

https://youtu.be/Z9DUt9SZBrghttps://ggbm.at/PvShz9Ma

Best Answer
photo

not possible point() or pointin() in outputs of tools

you must to use free objects for inputs of tools

so create a free circle (ie--> c: x^2+y^2=1) then C,D,E free, then create your output and the tool. then you must use the tool with objects that that meet the conditions

Comments (10)

photo
1

The Incircle command is a ready-made tool :) https://wiki.geogebra.org/e...

photo
2

not possible point() or pointin() in outputs of tools

you must to use free objects for inputs of tools

so create a free circle (ie--> c: x^2+y^2=1) then C,D,E free, then create your output and the tool. then you must use the tool with objects that that meet the conditions

photo
1

https://www.geogebra.org/cl...

INPUT - circle A, centrum of A, line1, line2, two point C,D of intersection line1 and line2 with cicrle A, point E intersection line1 and line2

OUTPUT - circle B (concern CE, DE and circle A), three points of concern

but sometimes don't plot points of intersactions B and CE, DE

it is work

photo
1

line and circle has generally two points in intersection. this points are intersect(circle,line,1) intersect(circle,line,2)

you have created the tool with only one of this points.

redefine these points like element(removeundefined({intersect(circle,line,1),intersect(circle,line,2)}),1) then recreate the tool

photo
1

Thank You, mathmagic!

I try this. But I don’t understand.

photo
photo
1

easy

each time you have a point equal to intersect(<circle>,<line>,1) or intersect(<circle>,<line>,2) change the definiton to

element(removeundefined({intersect(<circle>,<line>,1),intersect(<circle>,<line>,2)}),1)


ie: open your first file and move the point C, the red circle blinks because X is undefined sometimes

open the attached and move C, the red circle does not blink because X exits ever

see the different definitions of X

Files: foro.ggb
photo
1

@mathmagic

Point() is now allowed in tools:


https://www.geogebra.org/m/gbufnok5

photo
1

pointin(<region>) also? randompoint?

photo
1

@mathmagic: PointIn() is used in the Obtuse Triangle tool in the link Michael shared above. RandomPoint should also work, but I don't have any testcase for it.


Note that the output of Point / PointIn needs to be declared as output of the tool.

photo
1

Thanks. I tested. PERFECT, PERFECT, PERFECT. randompoint() also.

© 2018 International GeoGebra Institute