1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
|
// Regression test exercises a problem with nudging that would result in the
// following assertion if a sub-problem was unsatisfiable because the right
// channel edge but not the left had moved.
// Assertion failed: (unsatisfiedRanges.size() > 0)
// Reported by Steve Kieffer and Tobias Czauderna.
//
// Problem happens if EDGE128 is defined.
#include "libavoid/libavoid.h"
using namespace Avoid;
int main(void) {
Router *router = new Router(OrthogonalRouting);
router->setRoutingParameter((RoutingParameter)0, 30);
router->setRoutingParameter((RoutingParameter)1, 0);
router->setRoutingParameter((RoutingParameter)2, 120);
router->setRoutingParameter((RoutingParameter)3, 4000);
router->setRoutingParameter((RoutingParameter)4, 0);
router->setRoutingParameter((RoutingParameter)5, 0);
router->setRoutingParameter((RoutingParameter)6, 7.5);
router->setRoutingParameter((RoutingParameter)7, 4);
router->setRoutingParameter((RoutingParameter)8, 0);
router->setRoutingOption((RoutingOption)0, false);
router->setRoutingOption((RoutingOption)1, true);
router->setRoutingOption((RoutingOption)2, false);
router->setRoutingOption((RoutingOption)3, false);
router->setRoutingOption((RoutingOption)4, true);
router->setRoutingOption((RoutingOption)5, false);
router->setRoutingOption((RoutingOption)6, false);
Polygon polygon;
ConnRef *connRef = nullptr;
ConnEnd srcPt;
ConnEnd dstPt;
ConnEnd heConnPt;
PolyLine newRoute;
ShapeConnectionPin *connPin = nullptr;
// shapeRef1
polygon = Polygon(4);
polygon.ps[0] = Point(274.03, 356.334);
polygon.ps[1] = Point(304.03, 356.334);
polygon.ps[2] = Point(304.03, 386.334);
polygon.ps[3] = Point(274.03, 386.334);
new ShapeRef(router, polygon, 1);
// shapeRef1
polygon = Polygon(4);
polygon.ps[0] = Point(214.034, 356.334);
polygon.ps[1] = Point(244.034, 356.334);
polygon.ps[2] = Point(244.034, 386.334);
polygon.ps[3] = Point(214.034, 386.334);
new ShapeRef(router, polygon, 1);
// shapeRef2
polygon = Polygon(4);
polygon.ps[0] = Point(214.034, 439.168);
polygon.ps[1] = Point(244.034, 439.168);
polygon.ps[2] = Point(244.034, 469.168);
polygon.ps[3] = Point(214.034, 469.168);
new ShapeRef(router, polygon, 2);
// shapeRef3
polygon = Polygon(4);
polygon.ps[0] = Point(354.024, 416.334);
polygon.ps[1] = Point(384.024, 416.334);
polygon.ps[2] = Point(384.024, 446.334);
polygon.ps[3] = Point(354.024, 446.334);
new ShapeRef(router, polygon, 3);
// shapeRef4
polygon = Polygon(4);
polygon.ps[0] = Point(274.03, 276.334);
polygon.ps[1] = Point(304.03, 276.334);
polygon.ps[2] = Point(304.03, 306.334);
polygon.ps[3] = Point(274.03, 306.334);
new ShapeRef(router, polygon, 4);
// shapeRef5
polygon = Polygon(4);
polygon.ps[0] = Point(534.011, 276.334);
polygon.ps[1] = Point(564.011, 276.334);
polygon.ps[2] = Point(564.011, 306.334);
polygon.ps[3] = Point(534.011, 306.334);
new ShapeRef(router, polygon, 5);
// shapeRef6
polygon = Polygon(4);
polygon.ps[0] = Point(414.023, 416.334);
polygon.ps[1] = Point(444.023, 416.334);
polygon.ps[2] = Point(444.023, 446.334);
polygon.ps[3] = Point(414.023, 446.334);
new ShapeRef(router, polygon, 6);
// shapeRef7
polygon = Polygon(4);
polygon.ps[0] = Point(594.052, 276.334);
polygon.ps[1] = Point(624.052, 276.334);
polygon.ps[2] = Point(624.052, 306.334);
polygon.ps[3] = Point(594.052, 306.334);
new ShapeRef(router, polygon, 7);
// shapeRef8
polygon = Polygon(4);
polygon.ps[0] = Point(254.052, 386.334);
polygon.ps[1] = Point(284.052, 386.334);
polygon.ps[2] = Point(284.052, 416.334);
polygon.ps[3] = Point(254.052, 416.334);
new ShapeRef(router, polygon, 8);
// shapeRef9
polygon = Polygon(4);
polygon.ps[0] = Point(474.011, 416.334);
polygon.ps[1] = Point(504.011, 416.334);
polygon.ps[2] = Point(504.011, 446.334);
polygon.ps[3] = Point(474.011, 446.334);
new ShapeRef(router, polygon, 9);
// shapeRef10
polygon = Polygon(4);
polygon.ps[0] = Point(274.03, 76.3341);
polygon.ps[1] = Point(304.03, 76.3341);
polygon.ps[2] = Point(304.03, 106.334);
polygon.ps[3] = Point(274.03, 106.334);
new ShapeRef(router, polygon, 10);
// shapeRef11
polygon = Polygon(4);
polygon.ps[0] = Point(354.034, 536.334);
polygon.ps[1] = Point(384.034, 536.334);
polygon.ps[2] = Point(384.034, 566.334);
polygon.ps[3] = Point(354.034, 566.334);
new ShapeRef(router, polygon, 11);
// shapeRef12
polygon = Polygon(4);
polygon.ps[0] = Point(414.023, 476.334);
polygon.ps[1] = Point(444.023, 476.334);
polygon.ps[2] = Point(444.023, 506.334);
polygon.ps[3] = Point(414.023, 506.334);
new ShapeRef(router, polygon, 12);
// shapeRef13
polygon = Polygon(4);
polygon.ps[0] = Point(354.034, 596.334);
polygon.ps[1] = Point(384.034, 596.334);
polygon.ps[2] = Point(384.034, 626.334);
polygon.ps[3] = Point(354.034, 626.334);
new ShapeRef(router, polygon, 13);
// shapeRef14
polygon = Polygon(4);
polygon.ps[0] = Point(274.03, 446.334);
polygon.ps[1] = Point(304.03, 446.334);
polygon.ps[2] = Point(304.03, 476.334);
polygon.ps[3] = Point(274.03, 476.334);
new ShapeRef(router, polygon, 14);
// shapeRef15
polygon = Polygon(4);
polygon.ps[0] = Point(131.696, 276.334);
polygon.ps[1] = Point(161.696, 276.334);
polygon.ps[2] = Point(161.696, 306.334);
polygon.ps[3] = Point(131.696, 306.334);
new ShapeRef(router, polygon, 15);
// shapeRef16
polygon = Polygon(4);
polygon.ps[0] = Point(564.023, 416.334);
polygon.ps[1] = Point(594.023, 416.334);
polygon.ps[2] = Point(594.023, 446.334);
polygon.ps[3] = Point(564.023, 446.334);
new ShapeRef(router, polygon, 16);
// shapeRef17
polygon = Polygon(4);
polygon.ps[0] = Point(8.56882, 276.334);
polygon.ps[1] = Point(38.5688, 276.334);
polygon.ps[2] = Point(38.5688, 306.334);
polygon.ps[3] = Point(8.56882, 306.334);
new ShapeRef(router, polygon, 17);
// shapeRef18
polygon = Polygon(4);
polygon.ps[0] = Point(474.011, 216.334);
polygon.ps[1] = Point(504.011, 216.334);
polygon.ps[2] = Point(504.011, 246.334);
polygon.ps[3] = Point(474.011, 246.334);
new ShapeRef(router, polygon, 18);
// shapeRef19
polygon = Polygon(4);
polygon.ps[0] = Point(474.011, 156.334);
polygon.ps[1] = Point(504.011, 156.334);
polygon.ps[2] = Point(504.011, 186.334);
polygon.ps[3] = Point(474.011, 186.334);
new ShapeRef(router, polygon, 19);
// shapeRef20
polygon = Polygon(4);
polygon.ps[0] = Point(534.011, 216.334);
polygon.ps[1] = Point(564.011, 216.334);
polygon.ps[2] = Point(564.011, 246.334);
polygon.ps[3] = Point(534.011, 246.334);
new ShapeRef(router, polygon, 20);
// shapeRef21
polygon = Polygon(4);
polygon.ps[0] = Point(474.011, 96.3341);
polygon.ps[1] = Point(504.011, 96.3341);
polygon.ps[2] = Point(504.011, 126.334);
polygon.ps[3] = Point(474.011, 126.334);
new ShapeRef(router, polygon, 21);
// shapeRef22
polygon = Polygon(4);
polygon.ps[0] = Point(334.035, 356.334);
polygon.ps[1] = Point(364.035, 356.334);
polygon.ps[2] = Point(364.035, 386.334);
polygon.ps[3] = Point(334.035, 386.334);
new ShapeRef(router, polygon, 22);
// shapeRef23
polygon = Polygon(4);
polygon.ps[0] = Point(414.023, 536.334);
polygon.ps[1] = Point(444.023, 536.334);
polygon.ps[2] = Point(444.023, 566.334);
polygon.ps[3] = Point(414.023, 566.334);
new ShapeRef(router, polygon, 23);
// shapeRef25
polygon = Polygon(4);
polygon.ps[0] = Point(564.052, 180.582);
polygon.ps[1] = Point(594.052, 180.582);
polygon.ps[2] = Point(594.052, 210.582);
polygon.ps[3] = Point(564.052, 210.582);
new ShapeRef(router, polygon, 25);
// shapeRef26
polygon = Polygon(4);
polygon.ps[0] = Point(154.041, 476.334);
polygon.ps[1] = Point(184.041, 476.334);
polygon.ps[2] = Point(184.041, 506.334);
polygon.ps[3] = Point(154.041, 506.334);
new ShapeRef(router, polygon, 26);
// shapeRef27
polygon = Polygon(4);
polygon.ps[0] = Point(474.011, 300.457);
polygon.ps[1] = Point(504.011, 300.457);
polygon.ps[2] = Point(504.011, 330.457);
polygon.ps[3] = Point(474.011, 330.457);
new ShapeRef(router, polygon, 27);
// shapeRef28
polygon = Polygon(4);
polygon.ps[0] = Point(134.045, 306.334);
polygon.ps[1] = Point(164.045, 306.334);
polygon.ps[2] = Point(164.045, 336.334);
polygon.ps[3] = Point(134.045, 336.334);
new ShapeRef(router, polygon, 28);
// shapeRef29
polygon = Polygon(4);
polygon.ps[0] = Point(254.039, 216.334);
polygon.ps[1] = Point(284.039, 216.334);
polygon.ps[2] = Point(284.039, 246.334);
polygon.ps[3] = Point(254.039, 246.334);
new ShapeRef(router, polygon, 29);
// shapeRef30
polygon = Polygon(4);
polygon.ps[0] = Point(134.045, 386.334);
polygon.ps[1] = Point(164.045, 386.334);
polygon.ps[2] = Point(164.045, 416.334);
polygon.ps[3] = Point(134.045, 416.334);
new ShapeRef(router, polygon, 30);
// shapeRef31
polygon = Polygon(4);
polygon.ps[0] = Point(74.0462, 386.334);
polygon.ps[1] = Point(104.046, 386.334);
polygon.ps[2] = Point(104.046, 416.334);
polygon.ps[3] = Point(74.0462, 416.334);
new ShapeRef(router, polygon, 31);
// shapeRef32
polygon = Polygon(4);
polygon.ps[0] = Point(594.052, 596.334);
polygon.ps[1] = Point(624.052, 596.334);
polygon.ps[2] = Point(624.052, 626.334);
polygon.ps[3] = Point(594.052, 626.334);
new ShapeRef(router, polygon, 32);
// shapeRef34
polygon = Polygon(4);
polygon.ps[0] = Point(154.041, 356.334);
polygon.ps[1] = Point(184.041, 356.334);
polygon.ps[2] = Point(184.041, 386.334);
polygon.ps[3] = Point(154.041, 386.334);
new ShapeRef(router, polygon, 34);
// shapeRef35
polygon = Polygon(4);
polygon.ps[0] = Point(474.011, 36.3341);
polygon.ps[1] = Point(504.011, 36.3341);
polygon.ps[2] = Point(504.011, 66.3341);
polygon.ps[3] = Point(474.011, 66.3341);
new ShapeRef(router, polygon, 35);
// shapeRef38
polygon = Polygon(4);
polygon.ps[0] = Point(534.011, 386.334);
polygon.ps[1] = Point(564.011, 386.334);
polygon.ps[2] = Point(564.011, 416.334);
polygon.ps[3] = Point(534.011, 416.334);
new ShapeRef(router, polygon, 38);
// shapeRef39
polygon = Polygon(4);
polygon.ps[0] = Point(564.023, 343.278);
polygon.ps[1] = Point(594.023, 343.278);
polygon.ps[2] = Point(594.023, 373.278);
polygon.ps[3] = Point(564.023, 373.278);
new ShapeRef(router, polygon, 39);
// shapeRef40
polygon = Polygon(4);
polygon.ps[0] = Point(74.0462, 156.334);
polygon.ps[1] = Point(104.046, 156.334);
polygon.ps[2] = Point(104.046, 186.334);
polygon.ps[3] = Point(74.0462, 186.334);
new ShapeRef(router, polygon, 40);
// shapeRef41
polygon = Polygon(4);
polygon.ps[0] = Point(214.034, 76.3341);
polygon.ps[1] = Point(244.034, 76.3341);
polygon.ps[2] = Point(244.034, 106.334);
polygon.ps[3] = Point(214.034, 106.334);
new ShapeRef(router, polygon, 41);
// shapeRef42
polygon = Polygon(4);
polygon.ps[0] = Point(334.035, 136.334);
polygon.ps[1] = Point(364.035, 136.334);
polygon.ps[2] = Point(364.035, 166.334);
polygon.ps[3] = Point(334.035, 166.334);
new ShapeRef(router, polygon, 42);
// shapeRef45
polygon = Polygon(4);
polygon.ps[0] = Point(354.024, 300.457);
polygon.ps[1] = Point(384.024, 300.457);
polygon.ps[2] = Point(384.024, 330.457);
polygon.ps[3] = Point(354.024, 330.457);
new ShapeRef(router, polygon, 45);
// shapeRef46
polygon = Polygon(4);
polygon.ps[0] = Point(154.041, 416.334);
polygon.ps[1] = Point(184.041, 416.334);
polygon.ps[2] = Point(184.041, 446.334);
polygon.ps[3] = Point(154.041, 446.334);
new ShapeRef(router, polygon, 46);
// shapeRef47
polygon = Polygon(4);
polygon.ps[0] = Point(214.034, 136.334);
polygon.ps[1] = Point(244.034, 136.334);
polygon.ps[2] = Point(244.034, 166.334);
polygon.ps[3] = Point(214.034, 166.334);
new ShapeRef(router, polygon, 47);
// shapeRef48
polygon = Polygon(4);
polygon.ps[0] = Point(214.034, 296.334);
polygon.ps[1] = Point(244.034, 296.334);
polygon.ps[2] = Point(244.034, 326.334);
polygon.ps[3] = Point(214.034, 326.334);
new ShapeRef(router, polygon, 48);
// shapeRef50
polygon = Polygon(4);
polygon.ps[0] = Point(74.0462, 296.334);
polygon.ps[1] = Point(104.046, 296.334);
polygon.ps[2] = Point(104.046, 326.334);
polygon.ps[3] = Point(74.0462, 326.334);
new ShapeRef(router, polygon, 50);
// shapeRef51
polygon = Polygon(4);
polygon.ps[0] = Point(354.024, 36.3341);
polygon.ps[1] = Point(384.024, 36.3341);
polygon.ps[2] = Point(384.024, 66.3341);
polygon.ps[3] = Point(354.024, 66.3341);
new ShapeRef(router, polygon, 51);
// shapeRef53
polygon = Polygon(4);
polygon.ps[0] = Point(354.024, 180.582);
polygon.ps[1] = Point(384.024, 180.582);
polygon.ps[2] = Point(384.024, 210.582);
polygon.ps[3] = Point(354.024, 210.582);
new ShapeRef(router, polygon, 53);
// shapeRef54
polygon = Polygon(4);
polygon.ps[0] = Point(534.011, 596.334);
polygon.ps[1] = Point(564.011, 596.334);
polygon.ps[2] = Point(564.011, 626.334);
polygon.ps[3] = Point(534.011, 626.334);
new ShapeRef(router, polygon, 54);
// shapeRef55
polygon = Polygon(4);
polygon.ps[0] = Point(8.56882, 156.334);
polygon.ps[1] = Point(38.5688, 156.334);
polygon.ps[2] = Point(38.5688, 186.334);
polygon.ps[3] = Point(8.56882, 186.334);
new ShapeRef(router, polygon, 55);
// shapeRef57
polygon = Polygon(4);
polygon.ps[0] = Point(281.314, 476.334);
polygon.ps[1] = Point(311.314, 476.334);
polygon.ps[2] = Point(311.314, 506.334);
polygon.ps[3] = Point(281.314, 506.334);
new ShapeRef(router, polygon, 57);
// shapeRef58
polygon = Polygon(4);
polygon.ps[0] = Point(254.039, 312.99);
polygon.ps[1] = Point(284.039, 312.99);
polygon.ps[2] = Point(284.039, 342.99);
polygon.ps[3] = Point(254.039, 342.99);
new ShapeRef(router, polygon, 58);
// connRef59
connRef = new ConnRef(router, 59);
srcPt = ConnEnd(Point(229.034, 371.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(289.03, 371.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef60
connRef = new ConnRef(router, 60);
srcPt = ConnEnd(Point(169.041, 491.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(169.041, 431.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef61
connRef = new ConnRef(router, 61);
srcPt = ConnEnd(Point(369.024, 315.457), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(369.024, 431.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef62
connRef = new ConnRef(router, 62);
srcPt = ConnEnd(Point(23.5688, 291.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(23.5688, 171.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef63
connRef = new ConnRef(router, 63);
srcPt = ConnEnd(Point(429.023, 551.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(429.023, 491.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef64
connRef = new ConnRef(router, 64);
srcPt = ConnEnd(Point(549.011, 611.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(369.034, 611.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef65
connRef = new ConnRef(router, 65);
srcPt = ConnEnd(Point(369.024, 431.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(229.034, 454.168), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef66
connRef = new ConnRef(router, 66);
srcPt = ConnEnd(Point(429.023, 551.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(579.023, 431.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef67
connRef = new ConnRef(router, 67);
srcPt = ConnEnd(Point(489.011, 231.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(269.039, 231.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef68
connRef = new ConnRef(router, 68);
srcPt = ConnEnd(Point(369.034, 551.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(429.023, 551.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef69
connRef = new ConnRef(router, 69);
srcPt = ConnEnd(Point(169.041, 371.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(149.045, 401.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef70
connRef = new ConnRef(router, 70);
srcPt = ConnEnd(Point(169.041, 491.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(229.034, 371.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef71
connRef = new ConnRef(router, 71);
srcPt = ConnEnd(Point(149.045, 401.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(149.045, 321.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef72
connRef = new ConnRef(router, 72);
srcPt = ConnEnd(Point(489.011, 231.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(549.011, 291.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef73
connRef = new ConnRef(router, 73);
srcPt = ConnEnd(Point(229.034, 91.3341), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(289.03, 91.3341), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef74
connRef = new ConnRef(router, 74);
srcPt = ConnEnd(Point(369.024, 315.457), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(369.024, 195.582), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef75
connRef = new ConnRef(router, 75);
srcPt = ConnEnd(Point(489.011, 171.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(489.011, 231.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef76
connRef = new ConnRef(router, 76);
srcPt = ConnEnd(Point(146.696, 291.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(289.03, 291.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef77
connRef = new ConnRef(router, 77);
srcPt = ConnEnd(Point(23.5688, 291.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(146.696, 291.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef78
connRef = new ConnRef(router, 78);
srcPt = ConnEnd(Point(609.052, 611.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(289.03, 461.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef79
connRef = new ConnRef(router, 79);
srcPt = ConnEnd(Point(489.011, 431.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(429.023, 431.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef80
connRef = new ConnRef(router, 80);
srcPt = ConnEnd(Point(489.011, 315.457), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(489.011, 231.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef81
connRef = new ConnRef(router, 81);
srcPt = ConnEnd(Point(229.034, 371.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(169.041, 371.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef82
connRef = new ConnRef(router, 82);
srcPt = ConnEnd(Point(489.011, 431.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(489.011, 315.457), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef83
connRef = new ConnRef(router, 83);
srcPt = ConnEnd(Point(89.0462, 171.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(489.011, 171.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef84
connRef = new ConnRef(router, 84);
srcPt = ConnEnd(Point(229.034, 151.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(229.034, 91.3341), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef85
connRef = new ConnRef(router, 85);
srcPt = ConnEnd(Point(289.03, 91.3341), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(289.03, 291.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef86
connRef = new ConnRef(router, 86);
srcPt = ConnEnd(Point(89.0462, 311.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(89.0462, 171.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef87
connRef = new ConnRef(router, 87);
srcPt = ConnEnd(Point(149.045, 321.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(489.011, 171.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef88
connRef = new ConnRef(router, 88);
srcPt = ConnEnd(Point(489.011, 315.457), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(609.052, 291.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef89
connRef = new ConnRef(router, 89);
srcPt = ConnEnd(Point(369.024, 195.582), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(369.024, 51.3341), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef90
connRef = new ConnRef(router, 90);
srcPt = ConnEnd(Point(289.03, 461.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(289.03, 371.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef91
connRef = new ConnRef(router, 91);
srcPt = ConnEnd(Point(296.314, 491.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(429.023, 491.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef92
connRef = new ConnRef(router, 92);
srcPt = ConnEnd(Point(369.034, 611.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(369.034, 551.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef93
connRef = new ConnRef(router, 93);
srcPt = ConnEnd(Point(609.052, 291.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(549.011, 291.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef94
connRef = new ConnRef(router, 94);
srcPt = ConnEnd(Point(579.023, 431.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(579.023, 358.278), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef95
connRef = new ConnRef(router, 95);
srcPt = ConnEnd(Point(549.011, 231.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(549.011, 291.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef96
connRef = new ConnRef(router, 96);
srcPt = ConnEnd(Point(579.052, 195.582), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(549.011, 291.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef97
connRef = new ConnRef(router, 97);
srcPt = ConnEnd(Point(489.011, 231.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(549.011, 231.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef98
connRef = new ConnRef(router, 98);
srcPt = ConnEnd(Point(549.011, 291.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(289.03, 291.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef99
connRef = new ConnRef(router, 99);
srcPt = ConnEnd(Point(149.045, 401.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(269.052, 401.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef100
connRef = new ConnRef(router, 100);
srcPt = ConnEnd(Point(579.023, 431.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(489.011, 431.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef101
connRef = new ConnRef(router, 101);
srcPt = ConnEnd(Point(229.034, 454.168), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(229.034, 371.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef102
connRef = new ConnRef(router, 102);
srcPt = ConnEnd(Point(489.011, 111.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(489.011, 171.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef103
connRef = new ConnRef(router, 103);
srcPt = ConnEnd(Point(369.024, 315.457), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(489.011, 315.457), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef104
connRef = new ConnRef(router, 104);
srcPt = ConnEnd(Point(349.035, 371.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(489.011, 111.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef105
connRef = new ConnRef(router, 105);
srcPt = ConnEnd(Point(429.023, 431.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(289.03, 291.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef106
connRef = new ConnRef(router, 106);
srcPt = ConnEnd(Point(269.039, 231.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(349.035, 371.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef107
connRef = new ConnRef(router, 107);
srcPt = ConnEnd(Point(289.03, 371.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(349.035, 371.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef108
connRef = new ConnRef(router, 108);
srcPt = ConnEnd(Point(579.023, 358.278), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(549.011, 291.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef109
connRef = new ConnRef(router, 109);
srcPt = ConnEnd(Point(429.023, 431.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(369.024, 431.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef110
connRef = new ConnRef(router, 110);
srcPt = ConnEnd(Point(369.024, 51.3341), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(489.011, 51.3341), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef111
connRef = new ConnRef(router, 111);
srcPt = ConnEnd(Point(296.314, 491.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(169.041, 491.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef112
connRef = new ConnRef(router, 112);
srcPt = ConnEnd(Point(349.035, 151.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(349.035, 371.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef113
connRef = new ConnRef(router, 113);
srcPt = ConnEnd(Point(229.034, 311.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(229.034, 371.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef114
connRef = new ConnRef(router, 114);
srcPt = ConnEnd(Point(269.039, 327.99), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(169.041, 431.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef115
connRef = new ConnRef(router, 115);
srcPt = ConnEnd(Point(369.034, 551.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(229.034, 371.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef116
connRef = new ConnRef(router, 116);
srcPt = ConnEnd(Point(429.023, 491.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(429.023, 431.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef117
connRef = new ConnRef(router, 117);
srcPt = ConnEnd(Point(89.0462, 401.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(149.045, 401.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef118
connRef = new ConnRef(router, 118);
srcPt = ConnEnd(Point(349.035, 151.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(229.034, 151.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef119
connRef = new ConnRef(router, 119);
srcPt = ConnEnd(Point(549.011, 401.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(549.011, 611.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef120
connRef = new ConnRef(router, 120);
srcPt = ConnEnd(Point(369.024, 195.582), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(579.052, 195.582), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef121
connRef = new ConnRef(router, 121);
srcPt = ConnEnd(Point(269.039, 327.99), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(269.039, 231.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef122
connRef = new ConnRef(router, 122);
srcPt = ConnEnd(Point(169.041, 431.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(169.041, 371.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef123
connRef = new ConnRef(router, 123);
srcPt = ConnEnd(Point(369.024, 431.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(169.041, 431.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef124
connRef = new ConnRef(router, 124);
srcPt = ConnEnd(Point(229.034, 151.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(229.034, 311.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef125
connRef = new ConnRef(router, 125);
srcPt = ConnEnd(Point(549.011, 401.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(269.052, 401.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef126
connRef = new ConnRef(router, 126);
srcPt = ConnEnd(Point(549.011, 401.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(549.011, 291.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
// connRef127
connRef = new ConnRef(router, 127);
srcPt = ConnEnd(Point(269.052, 401.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(289.03, 291.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
#define EDGE128
#ifdef EDGE128
// connRef128
connRef = new ConnRef(router, 128);
srcPt = ConnEnd(Point(289.03, 291.334), 15);
connRef->setSourceEndpoint(srcPt);
dstPt = ConnEnd(Point(289.03, 371.334), 15);
connRef->setDestEndpoint(dstPt);
connRef->setRoutingType((ConnType)2);
#endif
router->processTransaction();
router->outputDiagram("output/hola01");
delete router;
return 0;
};
|