This project is read-only.

Bug ????

Dec 5, 2012 at 7:04 AM


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);
Dec 5, 2012 at 9:32 AM
Edited Dec 5, 2012 at 9: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!

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