This project has moved and is read-only. For the latest updates, please go here.

Copy and paste error?

Mar 4, 2011 at 11:48 PM

Seeing in the source code, in Change Set 85546, in the class


in the function

        public static BoundingBox TransformBox(BoundingBox box, ProjectionInfo from, ProjectionInfo to)
double[] corners = new double[] { box.Left, box.Bottom, box.Left, box.Top, box.Right, box.Top, box.Right, box.Top };
Reproject.ReprojectPoints(corners, null, from, to, 0, 4);

return new BoundingBox(corners[0], corners[1], corners[4], corners[5]).Join(
new BoundingBox(corners[2], corners[3], corners[6], corners[7]));

the attribute red box.Top should not be box.Bottom?

Mar 8, 2011 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.