jsts/testxml/general/TestRelateLC.xml
2016-02-05 07:59:16 +01:00

42 lines
724 B
XML

<run>
<precisionModel scale="1.0" offsetx="0.0" offsety="0.0"/>
<case>
<desc>LC - topographically equal with no boundary</desc>
<a>
LINESTRING(0 0, 0 50, 50 50, 50 0, 0 0)
</a>
<b>
MULTILINESTRING(
(0 0, 0 50),
(0 50, 50 50),
(50 50, 50 0),
(50 0, 0 0))
</b>
<test>
<op name="relate" arg3="1FFFFFFF2" arg1="A" arg2="B">
true
</op>
</test>
</case>
<case>
<desc>LC - equal with boundary intersection</desc>
<a>
LINESTRING(0 0, 60 0, 60 60, 60 0, 120 0)
</a>
<b>
MULTILINESTRING(
(0 0, 60 0),
(60 0, 120 0),
(60 0, 60 60))
</b>
<test>
<op name="relate" arg3="10FF0FFF2" arg1="A" arg2="B">
true
</op>
</test>
</case>
</run>