AreCongruent() sometime wrong

rami shared this problem 1 year ago
New

AreCongruent()

for isosceles triangles sometime correct and sometime wrong

Note: sometime need a lot time until you can receive a error.

But see the snapshot: the error exists.

9f622c24a5b85a57aa14cd05b4a86bf2

.

GGB 5.0.524 WIN10

Comments (6)

photo
1

Please can you save the .ggb file showing the problem?

photo
1

lol


je crois que Mike voudrait le fichier ggb avec "wrong" affiché

malheureusement (2 échecs) lorsqu'on sauve puis ouvre à nouveau, le fichier affiche de nouveau correctement la congruence

photo
1

Is the same as in my first post in this thread.

The comment "wong !" is dynamically and after initial the state is not wrong.

See properties/advanced/condition of text2

Attached the ggb-file again with save as... in the the state wrong.

==================================================

I reproduce the error as follows:

Open with ggb 5

Hold point F with the mouse and move it approx. 5 times horizontally all the way to the left and all the way to the right (or until "wrong !" flashes briefly).

photo
1

maybe this version with the button "Auto test" can help

photo
1

Hi Raymond,

Just tested your latest file. Yes. Unusual to be giving sometimes true, sometimes false.


But strange is after some effort play different layout, then all become congruent answers only.

After saving file (see attached 03-a)

on reopening file, again, when triangles are geometrically congruent, the boolean is again sometimes true sometimes false or

always congruent.

Unable to detect why.

photo
1

Hi lewws

My file congruentBug03 is very specific only to demonstrate the the bug.

When you shift some points or change l1 nothing works anymore.


In the attachment a version without bug and more robust for changes.

  • check it's (realy) congruent (3 sides are same)
  • set the decorations
  • check the command "AreCongruent()" is correct
  • Auto-modify F with a slider and a button (depending actual position of F)

Now it's more easy to explore the application, to hide some objects or change some things.

photo
© 2020 International GeoGebra Institute