Skip to content

Commit 7d96e07

Browse files
committed
add example data and config file
1 parent 9b24b3e commit 7d96e07

30 files changed

+3339
-0
lines changed

data/building_blocks_fig1.svg

+414
Loading

data/building_blocks_fig1.xml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" standalone="yes" ?>
2+
<!-- room template data -->
3+
<Templates>
4+
<Room>
5+
<Vertex px="0.2" py="0.2" />
6+
<Vertex px="0.2" py="-0.2" />
7+
<Vertex px="-0.2" py="-0.2" />
8+
<Vertex px="-0.2" py="0.2" />
9+
</Room>
10+
<Room>
11+
<Vertex px="0.1" py="0" />
12+
<Vertex px="0.3" py="0" />
13+
<Vertex px="0.3" py="-0.2" />
14+
<Vertex px="-0.3" py="-0.2" />
15+
<Vertex px="-0.3" py="0" />
16+
<Vertex px="-0.1" py="0" />
17+
<Vertex px="-0.1" py="0.2" />
18+
<Vertex px="0.1" py="0.2" />
19+
</Room>
20+
<Room>
21+
<Vertex px="0.2" py="0.2" />
22+
<Vertex px="0.2" py="-0.2" />
23+
<Vertex px="0" py="-0.2" />
24+
<Vertex px="0" py="0" />
25+
<Vertex px="-0.2" py="0" />
26+
<Vertex px="-0.2" py="0.2" />
27+
<Shift px="0.075" py="0.075" />
28+
</Room>
29+
<Room>
30+
<Vertex px="0.2" py="0.2" />
31+
<Vertex px="0.2" py="-0.2" />
32+
<Vertex px="-0.2" py="-0.2" />
33+
<Vertex px="-0.2" py="0" />
34+
<Vertex px="0" py="0" />
35+
<Vertex px="0" py="0.2" />
36+
<Shift px="0.075" py="-0.075" />
37+
</Room>
38+
<Room>
39+
<Vertex px="0.3" py="0.2" />
40+
<Vertex px="0.3" py="-0.2" />
41+
<Vertex px="-0.3" py="-0.2" />
42+
<Vertex px="-0.3" py="0.2" />
43+
</Room>
44+
</Templates>

data/building_blocks_fig11.xml

+91
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<?xml version="1.0" standalone="yes" ?>
2+
<!-- room template data -->
3+
<Templates>
4+
<!-- Rooms without restricted door positions -->
5+
<Room>
6+
<Vertex px="0.2" py="0.2"/>
7+
<Vertex px="0.2" py="-0.2"/>
8+
<Vertex px="-0.2" py="-0.2"/>
9+
<Vertex px="-0.2" py="0.2"/>
10+
</Room>
11+
<Room>
12+
<Vertex px="0.3" py="0.2"/>
13+
<Vertex px="0.3" py="-0.2"/>
14+
<Vertex px="-0.3" py="-0.2"/>
15+
<Vertex px="-0.3" py="0.2"/>
16+
</Room>
17+
<Room>
18+
<Vertex px="0.2" py="0.3"/>
19+
<Vertex px="0.2" py="-0.3"/>
20+
<Vertex px="-0.2" py="-0.3"/>
21+
<Vertex px="-0.2" py="0.3"/>
22+
</Room>
23+
<!-- Rectangular rooms (corridors) with restricted door positions -->
24+
<Room>
25+
<Vertex px="0.0" py="0.0"/>
26+
<Vertex px="0.0" py="0.1"/>
27+
<Vertex px="0.5" py="0.1"/>
28+
<Vertex px="0.5" py="0.0"/>
29+
<Door edgeIndex="0"/>
30+
<Door edgeIndex="2"/>
31+
<Boundary type="2"/>
32+
</Room>
33+
<Room>
34+
<Vertex px="0.0" py="0.0"/>
35+
<Vertex px="0.0" py="0.5"/>
36+
<Vertex px="0.1" py="0.5"/>
37+
<Vertex px="0.1" py="0.0"/>
38+
<Door edgeIndex="1"/>
39+
<Door edgeIndex="3"/>
40+
<Boundary type="2"/>
41+
</Room>
42+
<!-- L-shaped rooms (corridors) with restricted door positions -->
43+
<Room>
44+
<Vertex px="0.0" py="0.0"/>
45+
<Vertex px="0.0" py="0.5"/>
46+
<Vertex px="0.1" py="0.5"/>
47+
<Vertex px="0.1" py="0.1"/>
48+
<Vertex px="0.5" py="0.1"/>
49+
<Vertex px="0.5" py="0.0"/>
50+
<Shift px="-0.2" py="-0.2"/>
51+
<Door edgeIndex="1"/>
52+
<Door edgeIndex="4"/>
53+
<Boundary type="2"/>
54+
</Room>
55+
<Room>
56+
<Vertex px="0.0" py="0.0"/>
57+
<Vertex px="0.0" py="-0.5"/>
58+
<Vertex px="0.1" py="-0.5"/>
59+
<Vertex px="0.1" py="-0.1"/>
60+
<Vertex px="0.5" py="-0.1"/>
61+
<Vertex px="0.5" py="0.0"/>
62+
<Shift px="-0.2" py="0.2"/>
63+
<Door edgeIndex="1"/>
64+
<Door edgeIndex="4"/>
65+
<Boundary type="2"/>
66+
</Room>
67+
<Room>
68+
<Vertex px="0.0" py="0.0"/>
69+
<Vertex px="0.0" py="0.5"/>
70+
<Vertex px="-0.1" py="0.5"/>
71+
<Vertex px="-0.1" py="0.1"/>
72+
<Vertex px="-0.5" py="0.1"/>
73+
<Vertex px="-0.5" py="0.0"/>
74+
<Shift px="0.2" py="-0.2"/>
75+
<Door edgeIndex="1"/>
76+
<Door edgeIndex="4"/>
77+
<Boundary type="2"/>
78+
</Room>
79+
<Room>
80+
<Vertex px="0.0" py="0.0"/>
81+
<Vertex px="0.0" py="-0.5"/>
82+
<Vertex px="-0.1" py="-0.5"/>
83+
<Vertex px="-0.1" py="-0.1"/>
84+
<Vertex px="-0.5" py="-0.1"/>
85+
<Vertex px="-0.5" py="0.0"/>
86+
<Shift px="0.2" py="0.2"/>
87+
<Door edgeIndex="1"/>
88+
<Door edgeIndex="4"/>
89+
<Boundary type="2"/>
90+
</Room>
91+
</Templates>

data/building_blocks_fig6a.svg

+218
Loading

data/building_blocks_fig6a.xml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" standalone="yes" ?>
2+
<!-- room template data -->
3+
<Templates>
4+
<!-- Short square -->
5+
<Room>
6+
<Vertex px="0.2" py="0.2" />
7+
<Vertex px="0.2" py="-0.2" />
8+
<Vertex px="-0.2" py="-0.2" />
9+
<Vertex px="-0.2" py="0.2" />
10+
</Room>
11+
<!-- Rectangles -->
12+
<Room>
13+
<Vertex px="0.3" py="0.2" />
14+
<Vertex px="0.3" py="-0.2" />
15+
<Vertex px="-0.3" py="-0.2" />
16+
<Vertex px="-0.3" py="0.2" />
17+
</Room>
18+
<Room>
19+
<Vertex py="0.3" px="0.2" />
20+
<Vertex py="0.3" px="-0.2" />
21+
<Vertex py="-0.3" px="-0.2" />
22+
<Vertex py="-0.3" px="0.2" />
23+
</Room>
24+
</Templates>

0 commit comments

Comments
 (0)