jsts/testxml/general/TestPreparedPointPredicate.xml
2017-11-19 21:58:08 +01:00

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>