Page 1 of 1

Bug in SimpleGraph Rhomboid

PostPosted: October 30th, 2005, 2:00 am
by onlytk
I'm new with de SimpleGraph, but when i was testing the SGDemo, I had a exception, it occur when:

1. Put two Rhomboids on the SimpleGraph.
2. Link both.
3. and move one of the rhomboids around the other.
3. and......... occur an exception "Invalid floating point operation".

Someone occur, and some one not, i dont know why.

PostPosted: October 31st, 2005, 2:03 am
by kokkoras
It happened to me as well. But only once. I tried to reproduce it but failed.
Was it from inside Delphi or not? I mean, how was the demo activated? Was it using the stand-alone executable or the Run command of Delphi IDE? (I can't recall my case :-(

PostPosted: October 31st, 2005, 4:31 pm
by Kambiz
I could find one reason of the bug, and fixed it. But still there's another bug that I'm trying to fix it.

PostPosted: November 1st, 2005, 9:00 am
by Kambiz
The bug was not only in Rhomboids but also in all polygonal nodes. To fix this bug I had to change the way of calculating the end points of the links.

Also, to perevent Invalid Floating Point Operation Exception, I had to change Extended data type to Double.

The update is available to download.

Cheers