Bug ????

Dec 5, 2012 at 6:04 AM

hallo,

i thing in the file NewLocation.cs is a bug

... 

// keeps the coordinates of circumcenter of itself and neighbor triangle circumcenter Point myCircumcenter = default(Point()), neighborCircumcenter = default(Point);

...

myCircumcenter.x = torg.x + dx;
myCircumcenter.y = torg.y + dy;


must ...

Point myCircumcenter = new Point(), neighborCircumcenter = default(Point);
Coordinator
Dec 5, 2012 at 8:32 AM
Edited Dec 5, 2012 at 8:34 AM

Sure thing!

Point once was struct, so initializing it with default() was ok. But now you will clearly get an exception when calling FindNewLocationWithoutMaxAngle...

Thanks, will be fixed soon!

Coordinator
Dec 5, 2012 at 8:33 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.