Revision 24730 trunk/libraries/libFMap/src/com/vividsolutions/jts/algorithms/SnapSimplePointInAreaLocator.java
SnapSimplePointInAreaLocator.java | ||
---|---|---|
70 | 70 |
import com.vividsolutions.jts.geom.LinearRing; |
71 | 71 |
import com.vividsolutions.jts.geom.Location; |
72 | 72 |
import com.vividsolutions.jts.geom.Polygon; |
73 |
import com.vividsolutions.jts.algorithm.locate.SimplePointInAreaLocator; |
|
73 | 74 |
|
74 |
public class SnapSimplePointInAreaLocator extends |
|
75 |
com.vividsolutions.jts.algorithm.SimplePointInAreaLocator { |
|
76 |
public static int locate(Coordinate p, Geometry geom, double snapTolerance) |
|
75 |
public class SnapSimplePointInAreaLocator extends SimplePointInAreaLocator { |
|
76 |
public SnapSimplePointInAreaLocator(Geometry geom) { |
|
77 |
super(geom); |
|
78 |
// TODO Auto-generated constructor stub |
|
79 |
} |
|
80 |
public static int locate(Coordinate p, Geometry geom, double snapTolerance) |
|
77 | 81 |
{ |
78 | 82 |
if (geom.isEmpty()) return Location.EXTERIOR; |
79 | 83 |
|
Also available in: Unified diff