#14 Error in Envelope.equals

closed
nobody
None
5
2004-10-09
2004-05-16
zafrir b
No

Hi,

This message refers to JTS/J# 1.4, .equals method in
Envelope class.
The code there is :
return maxx == otherEnvelope.getMaxX() &&

maxy == otherEnvelope.getMaxY() &&

minx == otherEnvelope.getMinX() &&

maxx == otherEnvelope.getMaxX();

The last line should be:
miny == otherEnvelope.getMinY();

Regards

Zafrir

zafrirb@rafael.co.il

Discussion

  • Andrew Coats
    Andrew Coats
    2004-10-09

    • status: open --> closed
     
  • Andrew Coats
    Andrew Coats
    2004-10-09

    Logged In: YES
    user_id=168425

    now part of JTS stuff.