Skip to content

Commit

Permalink
fixes failed tests with touches and partiallyOverlapping
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaillandier committed Aug 3, 2021
1 parent 0a08e0b commit 1d0243c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions msi.gama.core/src/msi/gama/metamodel/shape/GamaPoint.java
Expand Up @@ -312,11 +312,13 @@ public boolean intersects(final IShape g) {
}

public boolean touches(final IShape g) {
return false;
if (g.isPoint()) return false;
return g.touches(this);
}

public boolean partiallyOverlaps(final IShape g) {
return false;
if (g.isPoint()) return false;
return g.partiallyOverlaps(this);
}


Expand Down

0 comments on commit 1d0243c

Please sign in to comment.