Skip to content

Commit

Permalink
Deprecate MCPointInRing, since it is non-robust
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Davis <mtnclimb@gmail.com>
  • Loading branch information
dr-jts committed Aug 31, 2017
1 parent 540a591 commit 95f19c4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@
*
* @version 1.7
*
* @see IndexedPointInAreaLocator for more general functionality
* @deprecated non-robust implementation; use {@link IndexedPointInAreaLocator}
* @see IndexedPointInAreaLocator for a more general and robust equivalent
*/
@Deprecated
public class MCPointInRing implements PointInRing {

class MCSelecter extends MonotoneChainSelectAction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,16 @@ public static void main(String args[]) {

public MCPointInRingTest(String name) { super(name); }

// override since this test is known to fail
public void testRobustStressTriangles() {

}

// override since this test is known to fail
public void testRobustTriangle() throws Exception {

}

protected void runPtInRing(int expectedLoc, Coordinate pt, String wkt)
throws Exception
{
Expand Down

0 comments on commit 95f19c4

Please sign in to comment.