mirror of
https://github.com/bjornharrtell/jsts.git
synced 2026-01-25 14:17:37 +00:00
35 lines
894 B
XML
35 lines
894 B
XML
<run>
|
|
<desc>Test cases for PreparedPoint predicates</desc>
|
|
<precisionModel type="FLOATING"/>
|
|
<geometryOperation>org.locationtech.jtstest.geomop.PreparedGeometryOperation</geometryOperation>
|
|
|
|
<case>
|
|
<desc> P/A - point in interior of poly</desc>
|
|
<a> POINT (100 100)
|
|
</a>
|
|
<b> POLYGON ((50 130, 150 130, 100 50, 50 130))
|
|
</b>
|
|
<test> <op name="intersects" arg1="A" arg2="B"> true </op> </test>
|
|
</case>
|
|
|
|
<case>
|
|
<desc> P/A - point on boundary of poly</desc>
|
|
<a> POINT (100 50)
|
|
</a>
|
|
<b> POLYGON ((50 130, 150 130, 100 50, 50 130))
|
|
</b>
|
|
<test> <op name="intersects" arg1="A" arg2="B"> true </op> </test>
|
|
</case>
|
|
|
|
<case>
|
|
<desc> P/A - point outside poly</desc>
|
|
<a> POINT (200 200)
|
|
</a>
|
|
<b> POLYGON ((50 130, 150 130, 100 50, 50 130))
|
|
</b>
|
|
<test> <op name="intersects" arg1="A" arg2="B"> false </op> </test>
|
|
</case>
|
|
|
|
|
|
</run>
|