bilaldursun1 / nettopologysuite

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

Comparing a geometry to something from the same namespace but not a IGeometry #75

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a geometry (Point) and something else from the same namespace 
(Coordinate).
2. Compare using == or the Equals function on the point.

What is the expected output? What do you see instead?
I just expected a false but got an invalid cast exception.

What version of the product are you using? On what operating system?
Using the head revision.

Please provide any additional information below.
I found the problem in the Geometry class will add a patch and unit test when 
this ticket is posted.

Original issue reported on code.google.com by Andre.Steenveld on 27 May 2011 at 2:34

GoogleCodeExporter commented 9 years ago
The patch, with test and fix.

Original comment by Andre.Steenveld on 27 May 2011 at 2:48

Attachments:

GoogleCodeExporter commented 9 years ago
thanks for reporting this

Original comment by diegogu...@gmail.com on 27 May 2011 at 3:03

GoogleCodeExporter commented 9 years ago
fixed with changeset 611

Original comment by diegogu...@gmail.com on 27 May 2011 at 3:06