SDF of a line segment

Niek Sprakel shared this question 3 months ago
Answered

Hi,

is there any way to obtain a result like this in GeoGebra?

https://www.desmos.com/calculator/iwefisluxj


I'm exploring ways to obtain the SDF of a line segment.

https://www.youtube.com/wat...


Oh, I see it does work if I refrain from using the abs and sgn functions. Though it would be nice if they could still be used for inequalities to keep expressions nicely compact.

Comments (4)

photo
1

what are the initial data?

photo
1

Well, I'm just considering a line through the origin with a slope 'v', the two points A, B where the line intersects the unit circle and a distance of 1/2 to that line segment between A and B.

photo
1

entonces te mando el adjunto que creo que es más general

puedes hacer una herramienta personal

Files: foro.ggb
photo
1

Gracias, eso funciona muy bien.

photo
© 2020 International GeoGebra Institute