2017-02-12 13:21:08 +01:00
|
|
|
# <test>
|
|
|
|
|
# <name>t5.2.ot</name>
|
|
|
|
|
# <content-description>A single cell with a single huge polygons</content-description>
|
|
|
|
|
# <test-intention>Geometrical objects reader capabilities</test-intention>
|
|
|
|
|
# <test-intention>POLYGON record reading</test-intention>
|
|
|
|
|
# <test-intention>Polygons with many points</test-intention>
|
|
|
|
|
# <content>
|
|
|
|
|
# begin_lib 0.001
|
|
|
|
|
# begin_cell {ABC}
|
|
|
|
|
# boundary 2 3 {-1000 0} {-990 20} {-1000 40} {-990 60} {-1000 80} {-990 100} {-1000 120} ... {-990 159980} {-1000 160000} {0 160000} {0 0} {-1000 0}
|
|
|
|
|
# end_cell
|
|
|
|
|
# end_lib
|
|
|
|
|
# </content>
|
|
|
|
|
# </test>
|
|
|
|
|
|
2021-08-11 07:33:43 +02:00
|
|
|
header
|
2017-02-12 13:21:08 +01:00
|
|
|
real 0 1000.0
|
|
|
|
|
uint 0 ;# offset table is in start record
|
|
|
|
|
for { set i 0 } { $i < 12 } { incr i } { uint 0 }
|
|
|
|
|
|
|
|
|
|
# Cell ABC
|
|
|
|
|
record CELL_STR
|
2021-08-11 07:33:43 +02:00
|
|
|
str ABC
|
2017-02-12 13:21:08 +01:00
|
|
|
|
|
|
|
|
record XYABSOLUTE
|
|
|
|
|
|
|
|
|
|
record POLYGON
|
|
|
|
|
bits 00110011 ;# 00PXYRDL
|
|
|
|
|
uint 2 ;# layer
|
|
|
|
|
uint 3 ;# datatype
|
2021-08-11 07:33:43 +02:00
|
|
|
uint 4 ;# pointlist: g-delta
|
|
|
|
|
uint 8002
|
2017-02-12 13:21:08 +01:00
|
|
|
uint 4003; int 0
|
|
|
|
|
for { set i 0 } { $i < 4000 } { incr i } {
|
|
|
|
|
uint 41; int 20
|
|
|
|
|
uint 43; int 20
|
|
|
|
|
}
|
|
|
|
|
uint 4001; int 0
|
|
|
|
|
int 0 ;# geometry-x (absolute)
|
|
|
|
|
|
|
|
|
|
tail
|
|
|
|
|
|