2
<precisionModel scale="1.0" offsetx="0.0" offsety="0.0"/>
5
<desc>A disjoint</desc>
8
(0 0, 80 0, 80 80, 0 80, 0 0))
12
(100 200, 100 140, 180 140, 180 200, 100 200))
14
<test> <op name="intersects" arg1="A" arg2="B"> false </op> </test>
15
<test> <op name="contains" arg1="A" arg2="B"> false </op> </test>
19
<desc>A contained in rectangle</desc>
21
POLYGON((0 0, 100 0, 100 100, 0 100, 0 0))
24
POLYGON((10 10, 10 90, 90 90, 90 10, 10 10))
26
<test> <op name="intersects" arg1="A" arg2="B"> true </op> </test>
27
<test> <op name="contains" arg1="A" arg2="B"> true </op> </test>
31
<desc>A containing rectangle</desc>
33
POLYGON((0 0, 100 0, 100 100, 0 100, 0 0))
36
POLYGON ((60 180, -100 120, -140 60, -40 20, -100 -80, 40 -20, 140 -100, 140 40, 260 160, 80 120, 60 180))
38
<test> <op name="intersects" arg1="A" arg2="B"> true </op> </test>
39
<test> <op name="contains" arg1="A" arg2="B"> false </op> </test>
43
<desc>mA containing rectangle</desc>
45
POLYGON((0 0, 100 0, 100 100, 0 100, 0 0))
48
MULTIPOLYGON (((-60 180, -60 -60, 40 -20, 140 -100, 180 120, -20 140, -60 180)),
49
((20 280, 0 180, 180 160, 200 280, 20 280)))
51
<test> <op name="intersects" arg1="A" arg2="B"> true </op> </test>
52
<test> <op name="contains" arg1="A" arg2="B"> false </op> </test>
56
<desc>L overlaps thru Y axis side</desc>
58
POLYGON((0 0, 100 0, 100 100, 0 100, 0 0))
61
LINESTRING(10 10, 200 10)
63
<test> <op name="intersects" arg1="A" arg2="B"> true </op> </test>
67
<desc>L overlaps thru X axis side</desc>
69
POLYGON((0 0, 100 0, 100 100, 0 100, 0 0))
72
LINESTRING(10 10, 10 2000)
74
<test> <op name="intersects" arg1="A" arg2="B"> true </op> </test>
78
<desc>L line intersection</desc>
80
POLYGON((0 0, 100 0, 100 100, 0 100, 0 0))
83
LINESTRING( 10 10, -10 -20 )
85
<test> <op name="intersects" arg1="A" arg2="B"> true </op> </test>
89
<desc>mL with one component contained</desc>
91
POLYGON((0 0, 100 0, 100 100, 0 100, 0 0))
94
MULTILINESTRING( (10 10, 10 20), (200 10, 200 20) )
96
<test> <op name="intersects" arg1="A" arg2="B"> true </op> </test>
97
<test> <op name="contains" arg1="A" arg2="B"> false </op> </test>