xbikuna / nettopologysuite

Automatically exported from code.google.com/p/nettopologysuite
0 stars 0 forks source link

Setting ordinate via Coordinate indexer throws ArgumentOutOfRangeException #135

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
var c = new Coordinate(1,1);
c[Ordinate.X] = 2; 

I expect the specified ordinate (X, in the case above) to be set.
Instead, I see an IndexOutOfRangeException.

I am using version 1.12.4448.22555 on Windows 7.

Diff file attached.

Original issue reported on code.google.com by michael....@gmail.com on 6 Dec 2012 at 12:48

Attachments:

GoogleCodeExporter commented 8 years ago
Good catch, thanks for pointing it out.

Original comment by felix.ob...@netcologne.de on 6 Dec 2012 at 8:12