Bug in SimpleGraph Rhomboid

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

Bug in SimpleGraph Rhomboid

Postby onlytk » October 30th, 2005, 2:00 am

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.
onlytk
Active Member
Active Member
 
Posts: 9
Joined: October 30th, 2005, 1:46 am

Postby kokkoras » October 31st, 2005, 2:03 am

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 :-(
User avatar
kokkoras
Moderator
Moderator
 
Posts: 317
Joined: March 12th, 2005, 11:19 pm
Location: Thessaloniki, Greece

Postby Kambiz » October 31st, 2005, 4:31 pm

I could find one reason of the bug, and fixed it. But still there's another bug that I'm trying to fix it.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby Kambiz » November 1st, 2005, 9:00 am

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
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 0 guests

cron