Bug in C# MultipartShapeBuffer.CalculateExtent() ?

2220
2
08-23-2011 11:02 AM
DanielWalton
Occasional Contributor
I am seeing some strange behavior in MultipartShapeBuffer.Extent. It seems to be mixing up xMax with yMin. The attached screen capture demonstrates this:

0 Kudos
2 Replies
LanceShipman
Esri Regular Contributor
I was able to reproduce your issue. It works correctly with the C++ API, but not with the .NET wrapper. The C++ API returns the extent in xMin, yMin, xMax, yMax order. For some reason the .NET wrapper is returning the extent in xMin, xMax, yMin, yMax order. I've entered a bug.
0 Kudos
DanielWalton
Occasional Contributor
If it helps, the same issue happens in the Envelope constructor.
0 Kudos