mirror of
https://github.com/bjornharrtell/jsts.git
synced 2026-01-18 14:08:37 +00:00
42 lines
724 B
XML
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>
|