Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a common IIntersectable interface to GamaPoint and Envelope3D
- Loading branch information
1 parent
e40f2cb
commit 7a717ec
Showing
3 changed files
with
33 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
msi.gama.core/src/msi/gama/common/geometry/IIntersectable.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package msi.gama.common.geometry; | ||
|
||
import org.locationtech.jts.geom.Coordinate; | ||
import org.locationtech.jts.geom.Envelope; | ||
|
||
import msi.gama.common.interfaces.IDisposable; | ||
|
||
public interface IIntersectable extends IDisposable { | ||
|
||
boolean intersects(Envelope env); | ||
|
||
boolean intersects(Coordinate env); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters