| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
package org.locationtech.jts.algorithm.locate; |
| 13 |
|
| 14 |
import org.locationtech.jts.geom.Coordinate; |
| 15 |
import org.locationtech.jts.geom.Geometry; |
| 16 |
import org.locationtech.jts.geom.Location; |
| 17 |
|
| 18 |
/** |
| 19 |
* An interface for classes which determine the {@link Location} of |
| 20 |
* points in a {@link Geometry}. |
| 21 |
* |
| 22 |
* @author Martin Davis |
| 23 |
*/ |
| 24 |
public interface PointOnGeometryLocator |
| 25 |
{ |
| 26 |
/** |
| 27 |
* Determines the {@link Location} of a point in the {@link Geometry}. |
| 28 |
* |
| 29 |
* @param p the point to test |
| 30 |
* @return the location of the point in the geometry |
| 31 |
*/ |
| 32 |
int locate(Coordinate p); |
| 33 |
} |
| 34 |
|