Open GoogleCodeExporter opened 9 years ago
I'd prefer this fix
In Geometry.Intersects(...) function modify the IsRectangle block to
// optimizations for rectangle arguments
if (IsRectangle)
{
var testGeom = (this is IGeometryCollection<TCoordinate>)
? ((IGeometryCollection<TCoordinate>)this)[0] as IPolygon<TCoordinate>
: this as IPolygon<TCoordinate>;
return RectangleIntersects<TCoordinate>.Intersects(testGeom, g);
}
Original comment by felix.ob...@netcologne.de
on 25 Jan 2012 at 8:49
Sounds good.
Original comment by tarantul...@abv.bg
on 25 Jan 2012 at 3:46
Original issue reported on code.google.com by
tarantul...@abv.bg
on 25 Jan 2012 at 6:01