kasperpeulen / euclidthegame

A geometry game based on Euclid's Elements.
euclidthegame.org
MIT License
447 stars 74 forks source link

Intersection of circle and ray-over-segment #319

Open georgi69 opened 10 years ago

georgi69 commented 10 years ago

Hello,

I am not able to mark intersection of a circle and ray that is placed on top of a segment. Steps to reproduce:

1) Draw segment AB (or use one that is already existing) 2) Draw ray AB 3) Draw circle with center A and radius less than |AB| (avoid clicking on segment AB to make sure you do NOT already select the intersection point) 4) Use intersection tool and try to mark intersection -> it does not work

I am trying to use this as part of primitives-only solution for level 10. Probably not the most efficient one but still should work i.e.: (1) ray BA (2) ray DC (3) point E as intersection of (1) and (2) (4) circle center = E, radius = EC, point F as intersection of this circle and ray BA (5) circle center = E, radius = ED, point G as intersection of this circle and ray BA (6) circle center C, radius CG (7) circle center G, radius GC, point H as intersection of circles (6) and (7) (8) circle center H, radius HF (9) intersection of circle (8) and BA solves the task

I am not able to perform the final step due to above described problem.

Thanks in advance for fix and kind regards, Martin