| 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 |
package gen.lib.common; |
| 47 |
import static gen.lib.cgraph.edge__c.aghead; |
| 48 |
import static gen.lib.cgraph.edge__c.agtail; |
| 49 |
import static gen.lib.pathplan.route__c.Proutespline; |
| 50 |
import static gen.lib.pathplan.shortest__c.Pshortestpath; |
| 51 |
import static gen.lib.pathplan.util__c.make_polyline; |
| 52 |
import static smetana.core.JUtils.NEQ; |
| 53 |
import static smetana.core.JUtils.cos; |
| 54 |
import static smetana.core.JUtils.sin; |
| 55 |
import static smetana.core.JUtilsDebug.ENTERING; |
| 56 |
import static smetana.core.JUtilsDebug.LEAVING; |
| 57 |
import static smetana.core.Macro.ABS; |
| 58 |
import static smetana.core.Macro.ALLOC_allocated_ST_Pedge_t; |
| 59 |
import static smetana.core.Macro.ALLOC_allocated_ST_pointf; |
| 60 |
import static smetana.core.Macro.ED_edge_type; |
| 61 |
import static smetana.core.Macro.ED_to_orig; |
| 62 |
import static smetana.core.Macro.INT_MAX; |
| 63 |
import static smetana.core.Macro.INT_MIN; |
| 64 |
import static smetana.core.Macro.MIN; |
| 65 |
import static smetana.core.Macro.N; |
| 66 |
import static smetana.core.Macro.NOT; |
| 67 |
import static smetana.core.Macro.UNSUPPORTED; |
| 68 |
import h.ST_Agedge_s; |
| 69 |
import h.ST_Ppoly_t; |
| 70 |
import h.ST_boxf; |
| 71 |
import h.ST_path; |
| 72 |
import h.ST_pointf; |
| 73 |
import smetana.core.Memory; |
| 74 |
import smetana.core.Z; |
| 75 |
import smetana.core.__ptr__; |
| 76 |
|
| 77 |
public class routespl__c { |
| 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 |
public static Object pointof(Object... arg) { |
| 319 |
UNSUPPORTED("8e4tj258yvfq5uhsdpk37n5eq"); |
| 320 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 321 |
UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); |
| 322 |
UNSUPPORTED("12jimkrzqxavaie0cpapbx18c"); |
| 323 |
UNSUPPORTED("7ivmviysahgsc5nn9gtp7q2if"); |
| 324 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 325 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 326 |
|
| 327 |
throw new UnsupportedOperationException(); |
| 328 |
} |
| 329 |
|
| 330 |
|
| 331 |
|
| 332 |
|
| 333 |
|
| 334 |
|
| 335 |
public static ST_pointf pointfof(double x, double y) { |
| 336 |
|
| 337 |
return pointfof_w_(x, y).copy(); |
| 338 |
} |
| 339 |
private static ST_pointf pointfof_w_(double x, double y) { |
| 340 |
ENTERING("c1s4k85p1cdfn176o3uryeros","pointfof"); |
| 341 |
try { |
| 342 |
final ST_pointf r = new ST_pointf(); |
| 343 |
r.setDouble("x", x); |
| 344 |
r.setDouble("y", y); |
| 345 |
return r; |
| 346 |
} finally { |
| 347 |
LEAVING("c1s4k85p1cdfn176o3uryeros","pointfof"); |
| 348 |
} |
| 349 |
} |
| 350 |
|
| 351 |
|
| 352 |
|
| 353 |
|
| 354 |
|
| 355 |
|
| 356 |
public static Object boxof(Object... arg) { |
| 357 |
UNSUPPORTED("3lzesfdd337h31jrlib1czocm"); |
| 358 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 359 |
UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); |
| 360 |
UNSUPPORTED("cylhjlutoc0sc0uy7g98m9fb8"); |
| 361 |
UNSUPPORTED("242of6revxzx8hpe7yerrchz6"); |
| 362 |
UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); |
| 363 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 364 |
|
| 365 |
throw new UnsupportedOperationException(); |
| 366 |
} |
| 367 |
|
| 368 |
|
| 369 |
|
| 370 |
|
| 371 |
|
| 372 |
|
| 373 |
|
| 374 |
|
| 375 |
|
| 376 |
|
| 377 |
public static Object add_point(Object... arg) { |
| 378 |
UNSUPPORTED("6iamka1fx8fk1rohzzse8phte"); |
| 379 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 380 |
UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); |
| 381 |
UNSUPPORTED("3n2sizjd0civbzm6iq7su1s2p"); |
| 382 |
UNSUPPORTED("65ygdo31w09i5i6bd2f7azcd3"); |
| 383 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 384 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 385 |
|
| 386 |
throw new UnsupportedOperationException(); |
| 387 |
} |
| 388 |
|
| 389 |
|
| 390 |
|
| 391 |
|
| 392 |
|
| 393 |
|
| 394 |
public static ST_pointf add_pointf(final ST_pointf p, final ST_pointf q) { |
| 395 |
|
| 396 |
return add_pointf_w_(p.copy(), q.copy()).copy(); |
| 397 |
} |
| 398 |
private static ST_pointf add_pointf_w_(final ST_pointf p, final ST_pointf q) { |
| 399 |
ENTERING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf"); |
| 400 |
try { |
| 401 |
final ST_pointf r = new ST_pointf(); |
| 402 |
r.setDouble("x", p.x + q.x); |
| 403 |
r.setDouble("y", p.y + q.y); |
| 404 |
return r; |
| 405 |
} finally { |
| 406 |
LEAVING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf"); |
| 407 |
} |
| 408 |
} |
| 409 |
|
| 410 |
|
| 411 |
|
| 412 |
|
| 413 |
|
| 414 |
|
| 415 |
public static Object sub_point(Object... arg) { |
| 416 |
UNSUPPORTED("cd602849h0bce8lu9xegka0ia"); |
| 417 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 418 |
UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); |
| 419 |
UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); |
| 420 |
UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); |
| 421 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 422 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 423 |
|
| 424 |
throw new UnsupportedOperationException(); |
| 425 |
} |
| 426 |
|
| 427 |
|
| 428 |
|
| 429 |
|
| 430 |
|
| 431 |
|
| 432 |
public static Object sub_pointf(Object... arg) { |
| 433 |
UNSUPPORTED("dmufj44lddsnj0wjyxsg2fcso"); |
| 434 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 435 |
UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); |
| 436 |
UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); |
| 437 |
UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); |
| 438 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 439 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 440 |
|
| 441 |
throw new UnsupportedOperationException(); |
| 442 |
} |
| 443 |
|
| 444 |
|
| 445 |
|
| 446 |
|
| 447 |
|
| 448 |
|
| 449 |
public static Object mid_point(Object... arg) { |
| 450 |
UNSUPPORTED("evy44tdsmu3erff9dp2x835u2"); |
| 451 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 452 |
UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); |
| 453 |
UNSUPPORTED("1a6p6fm57o0wt5ze2btsx06c7"); |
| 454 |
UNSUPPORTED("1kbj5tgdmfi6kf4jgg6skhr6e"); |
| 455 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 456 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 457 |
|
| 458 |
throw new UnsupportedOperationException(); |
| 459 |
} |
| 460 |
|
| 461 |
|
| 462 |
|
| 463 |
|
| 464 |
|
| 465 |
|
| 466 |
public static Object mid_pointf(Object... arg) { |
| 467 |
UNSUPPORTED("381o63o9kb04d7gzg65v0r3q"); |
| 468 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 469 |
UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); |
| 470 |
UNSUPPORTED("c5vboetlr3mf43wns7iik6m1w"); |
| 471 |
UNSUPPORTED("bcdf562ldr3bjn78hcay5xd63"); |
| 472 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 473 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 474 |
|
| 475 |
throw new UnsupportedOperationException(); |
| 476 |
} |
| 477 |
|
| 478 |
|
| 479 |
|
| 480 |
|
| 481 |
|
| 482 |
|
| 483 |
public static Object interpolate_pointf(Object... arg) { |
| 484 |
UNSUPPORTED("894yimn33kmtm454llwdaotu8"); |
| 485 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 486 |
UNSUPPORTED("ef2acl8wa2ooqcb5vz3098maz"); |
| 487 |
UNSUPPORTED("5tpwuyf5iidesy80v8o4nwkmk"); |
| 488 |
UNSUPPORTED("ewnrc5uloj3w5jbmsjcn3wja0"); |
| 489 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 490 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 491 |
|
| 492 |
throw new UnsupportedOperationException(); |
| 493 |
} |
| 494 |
|
| 495 |
|
| 496 |
|
| 497 |
|
| 498 |
|
| 499 |
|
| 500 |
public static Object exch_xy(Object... arg) { |
| 501 |
UNSUPPORTED("2vxya0v2fzlv5e0vjaa8d414"); |
| 502 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 503 |
UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); |
| 504 |
UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); |
| 505 |
UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); |
| 506 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 507 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 508 |
|
| 509 |
throw new UnsupportedOperationException(); |
| 510 |
} |
| 511 |
|
| 512 |
|
| 513 |
|
| 514 |
|
| 515 |
|
| 516 |
|
| 517 |
public static Object exch_xyf(Object... arg) { |
| 518 |
UNSUPPORTED("8qamrobrqi8jsvvfrxkimrsnw"); |
| 519 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 520 |
UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); |
| 521 |
UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); |
| 522 |
UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); |
| 523 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 524 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 525 |
|
| 526 |
throw new UnsupportedOperationException(); |
| 527 |
} |
| 528 |
|
| 529 |
|
| 530 |
|
| 531 |
|
| 532 |
|
| 533 |
|
| 534 |
public static Object box_bb(Object... arg) { |
| 535 |
UNSUPPORTED("36et5gmnjrby6o7bq9sgh1hx6"); |
| 536 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 537 |
UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); |
| 538 |
UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); |
| 539 |
UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); |
| 540 |
UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); |
| 541 |
UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); |
| 542 |
UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); |
| 543 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 544 |
|
| 545 |
throw new UnsupportedOperationException(); |
| 546 |
} |
| 547 |
|
| 548 |
|
| 549 |
|
| 550 |
|
| 551 |
|
| 552 |
|
| 553 |
public static Object boxf_bb(Object... arg) { |
| 554 |
UNSUPPORTED("dyrqu4ww9osr9c86gqgmifcp6"); |
| 555 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 556 |
UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); |
| 557 |
UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); |
| 558 |
UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); |
| 559 |
UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); |
| 560 |
UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); |
| 561 |
UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); |
| 562 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 563 |
|
| 564 |
throw new UnsupportedOperationException(); |
| 565 |
} |
| 566 |
|
| 567 |
|
| 568 |
|
| 569 |
|
| 570 |
|
| 571 |
|
| 572 |
public static Object box_intersect(Object... arg) { |
| 573 |
UNSUPPORTED("34gv28cldst09bl71itjgviue"); |
| 574 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 575 |
UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); |
| 576 |
UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); |
| 577 |
UNSUPPORTED("3uv943c2f82yuif249pf5azob"); |
| 578 |
UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); |
| 579 |
UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); |
| 580 |
UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); |
| 581 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 582 |
|
| 583 |
throw new UnsupportedOperationException(); |
| 584 |
} |
| 585 |
|
| 586 |
|
| 587 |
|
| 588 |
|
| 589 |
|
| 590 |
|
| 591 |
public static Object boxf_intersect(Object... arg) { |
| 592 |
UNSUPPORTED("ape22b8z6jfg17gvo42hok9eb"); |
| 593 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 594 |
UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); |
| 595 |
UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); |
| 596 |
UNSUPPORTED("3uv943c2f82yuif249pf5azob"); |
| 597 |
UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); |
| 598 |
UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); |
| 599 |
UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); |
| 600 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 601 |
|
| 602 |
throw new UnsupportedOperationException(); |
| 603 |
} |
| 604 |
|
| 605 |
|
| 606 |
|
| 607 |
|
| 608 |
|
| 609 |
|
| 610 |
public static Object box_overlap(Object... arg) { |
| 611 |
UNSUPPORTED("1e9k599x7ygct7r4cfdxlk9u9"); |
| 612 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 613 |
UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); |
| 614 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 615 |
|
| 616 |
throw new UnsupportedOperationException(); |
| 617 |
} |
| 618 |
|
| 619 |
|
| 620 |
|
| 621 |
|
| 622 |
|
| 623 |
|
| 624 |
public static Object boxf_overlap(Object... arg) { |
| 625 |
UNSUPPORTED("905nejsewihwhhc3bhnrz9nwo"); |
| 626 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 627 |
UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); |
| 628 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 629 |
|
| 630 |
throw new UnsupportedOperationException(); |
| 631 |
} |
| 632 |
|
| 633 |
|
| 634 |
|
| 635 |
|
| 636 |
|
| 637 |
|
| 638 |
public static Object box_contains(Object... arg) { |
| 639 |
UNSUPPORTED("aputfc30fjkvy6jx4otljaczq"); |
| 640 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 641 |
UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); |
| 642 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 643 |
|
| 644 |
throw new UnsupportedOperationException(); |
| 645 |
} |
| 646 |
|
| 647 |
|
| 648 |
|
| 649 |
|
| 650 |
|
| 651 |
|
| 652 |
public static Object boxf_contains(Object... arg) { |
| 653 |
UNSUPPORTED("7ccnttkiwt834yfyw0evcm18v"); |
| 654 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 655 |
UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); |
| 656 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 657 |
|
| 658 |
throw new UnsupportedOperationException(); |
| 659 |
} |
| 660 |
|
| 661 |
|
| 662 |
|
| 663 |
|
| 664 |
|
| 665 |
|
| 666 |
public static Object perp(Object... arg) { |
| 667 |
UNSUPPORTED("567wpqlg9rv63ynyvxd9sgkww"); |
| 668 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 669 |
UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); |
| 670 |
UNSUPPORTED("2fyydy6t6yifjsczccsb9szeg"); |
| 671 |
UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); |
| 672 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 673 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 674 |
|
| 675 |
throw new UnsupportedOperationException(); |
| 676 |
} |
| 677 |
|
| 678 |
|
| 679 |
|
| 680 |
|
| 681 |
|
| 682 |
|
| 683 |
public static Object scale(Object... arg) { |
| 684 |
UNSUPPORTED("c1ngytew34bmkdb7vps5h3dh8"); |
| 685 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 686 |
UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); |
| 687 |
UNSUPPORTED("dznf7nac14snww4usquyd6r3r"); |
| 688 |
UNSUPPORTED("33kk73m8vjcux5tnjl8co2pe6"); |
| 689 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 690 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 691 |
|
| 692 |
throw new UnsupportedOperationException(); |
| 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 |
public static ST_pointf.Array simpleSplineRoute(final ST_pointf tp, final ST_pointf hp, final ST_Ppoly_t poly, int[] n_spl_pts, boolean polyline) { |
| 733 |
|
| 734 |
return simpleSplineRoute_w_(tp.copy(), hp.copy(), (ST_Ppoly_t) poly.copy(), n_spl_pts, polyline); |
| 735 |
} |
| 736 |
private static ST_pointf.Array simpleSplineRoute_w_(final ST_pointf tp, final ST_pointf hp, final ST_Ppoly_t poly, int[] n_spl_pts, boolean polyline) { |
| 737 |
ENTERING("7ebl6qohcfpf1b9ucih5r9qgp","simpleSplineRoute"); |
| 738 |
try { |
| 739 |
final ST_Ppoly_t pl = new ST_Ppoly_t(), spl = new ST_Ppoly_t(); |
| 740 |
final ST_pointf.Array eps = new ST_pointf.Array( 2); |
| 741 |
final ST_pointf.Array evs = new ST_pointf.Array( 2); |
| 742 |
int i; |
| 743 |
eps.plus(0).setDouble("x", tp.x); |
| 744 |
eps.plus(0).setDouble("y", tp.y); |
| 745 |
eps.plus(1).setDouble("x", hp.x); |
| 746 |
eps.plus(1).setDouble("y", hp.y); |
| 747 |
if (Pshortestpath(poly, eps, pl) < 0) |
| 748 |
return null; |
| 749 |
if (polyline) |
| 750 |
make_polyline (pl, spl); |
| 751 |
else { |
| 752 |
if (poly.pn > Z.z().edgen) { |
| 753 |
Z.z().edges = ALLOC_allocated_ST_Pedge_t(Z.z().edges, poly.pn); |
| 754 |
Z.z().edgen = poly.pn; |
| 755 |
} |
| 756 |
for (i = 0; i < poly.pn; i++) { |
| 757 |
Z.z().edges.plus(i).setStruct("a", poly.ps.plus(i).getStruct()); |
| 758 |
Z.z().edges.plus(i).setStruct("b", poly.ps.plus((i + 1) % poly.pn).getStruct()); |
| 759 |
} |
| 760 |
evs.plus(0).setDouble("x", 0); |
| 761 |
evs.plus(0).setDouble("y", 0); |
| 762 |
evs.plus(1).setDouble("x", 0); |
| 763 |
evs.plus(1).setDouble("y", 0); |
| 764 |
if (Proutespline(Z.z().edges, poly.pn, pl, evs.asPtr(), spl) < 0) |
| 765 |
return null; |
| 766 |
} |
| 767 |
if (mkspacep(spl.pn)) |
| 768 |
return null; |
| 769 |
for (i = 0; i < spl.pn; i++) { |
| 770 |
Z.z().ps.plus(i).setStruct(spl.ps.plus(i).getStruct()); |
| 771 |
} |
| 772 |
n_spl_pts[0] = spl.pn; |
| 773 |
return Z.z().ps; |
| 774 |
} finally { |
| 775 |
LEAVING("7ebl6qohcfpf1b9ucih5r9qgp","simpleSplineRoute"); |
| 776 |
} |
| 777 |
} |
| 778 |
|
| 779 |
|
| 780 |
|
| 781 |
|
| 782 |
|
| 783 |
|
| 784 |
public static int routesplinesinit() { |
| 785 |
ENTERING("bfsrazjf3vkf12stnke48vc8t","routesplinesinit"); |
| 786 |
try { |
| 787 |
if (++Z.z().routeinit > 1) return 0; |
| 788 |
if (N(Z.z().ps = new ST_pointf.Array(300))) { |
| 789 |
UNSUPPORTED("2qoo3na2ur9oh7hmvt6xv1txd"); |
| 790 |
UNSUPPORTED("eleqpc2p2r3hvma6tipoy7tr"); |
| 791 |
} |
| 792 |
Z.z().maxpn = 300; |
| 793 |
Z.z().nedges = 0; |
| 794 |
Z.z().nboxes = 0; |
| 795 |
|
| 796 |
|
| 797 |
return 0; |
| 798 |
} finally { |
| 799 |
LEAVING("bfsrazjf3vkf12stnke48vc8t","routesplinesinit"); |
| 800 |
} |
| 801 |
} |
| 802 |
|
| 803 |
|
| 804 |
|
| 805 |
|
| 806 |
|
| 807 |
|
| 808 |
public static void routesplinesterm() { |
| 809 |
ENTERING("55j3tny5cxemrsvrt3m21jxg8","routesplinesterm"); |
| 810 |
try { |
| 811 |
if (--Z.z().routeinit > 0) return; |
| 812 |
Memory.free(Z.z().ps); |
| 813 |
|
| 814 |
|
| 815 |
|
| 816 |
|
| 817 |
} finally { |
| 818 |
LEAVING("55j3tny5cxemrsvrt3m21jxg8","routesplinesterm"); |
| 819 |
} |
| 820 |
} |
| 821 |
|
| 822 |
|
| 823 |
|
| 824 |
|
| 825 |
|
| 826 |
|
| 827 |
public static void limitBoxes(ST_boxf boxes[], int boxn, __ptr__ pps, int pn, int delta) { |
| 828 |
ENTERING("cu8ssjizw7ileqe9u7tcclq7k","limitBoxes"); |
| 829 |
try { |
| 830 |
int bi, si, splinepi; |
| 831 |
double t; |
| 832 |
final ST_pointf.Array sp = new ST_pointf.Array( 4); |
| 833 |
int num_div = delta * boxn; |
| 834 |
for (splinepi = 0; splinepi + 3 < pn; splinepi += 3) { |
| 835 |
for (si = 0; si <= num_div; si++) { |
| 836 |
t = si / (double)num_div; |
| 837 |
sp.plus(0).getStruct().___(pps.plus(splinepi).getStruct()); |
| 838 |
sp.plus(1).getStruct().___(pps.plus(splinepi+1).getStruct()); |
| 839 |
sp.plus(2).getStruct().___(pps.plus(splinepi+2).getStruct()); |
| 840 |
sp.plus(3).getStruct().___(pps.plus(splinepi+3).getStruct()); |
| 841 |
sp.plus(0).setDouble("x", sp.get(0).x + t * (sp.get(1).x - sp.get(0).x)); |
| 842 |
sp.plus(0).setDouble("y", sp.get(0).y + t * (sp.get(1).y - sp.get(0).y)); |
| 843 |
sp.plus(1).setDouble("x", sp.get(1).x + t * (sp.get(2).x - sp.get(1).x)); |
| 844 |
sp.plus(1).setDouble("y", sp.get(1).y + t * (sp.get(2).y - sp.get(1).y)); |
| 845 |
sp.plus(2).setDouble("x", sp.get(2).x + t * (sp.get(3).x - sp.get(2).x)); |
| 846 |
sp.plus(2).setDouble("y", sp.get(2).y + t * (sp.get(3).y - sp.get(2).y)); |
| 847 |
sp.plus(0).setDouble("x", sp.get(0).x + t * (sp.get(1).x - sp.get(0).x)); |
| 848 |
sp.plus(0).setDouble("y", sp.get(0).y + t * (sp.get(1).y - sp.get(0).y)); |
| 849 |
sp.plus(1).setDouble("x", sp.get(1).x + t * (sp.get(2).x - sp.get(1).x)); |
| 850 |
sp.plus(1).setDouble("y", sp.get(1).y + t * (sp.get(2).y - sp.get(1).y)); |
| 851 |
sp.plus(0).setDouble("x", sp.get(0).x + t * (sp.get(1).x - sp.get(0).x)); |
| 852 |
sp.plus(0).setDouble("y", sp.get(0).y + t * (sp.get(1).y - sp.get(0).y)); |
| 853 |
for (bi = 0; bi < boxn; bi++) { |
| 854 |
|
| 855 |
|
| 856 |
if (sp.get(0).y <= boxes[bi].UR.y+.0001 && sp.get(0).y >= boxes[bi].LL.y-.0001) { |
| 857 |
if (boxes[bi].LL.x > sp.get(0).x) |
| 858 |
boxes[bi].LL.setDouble("x", sp.get(0).x); |
| 859 |
if (boxes[bi].UR.x < sp.get(0).x) |
| 860 |
boxes[bi].UR.setDouble("x", sp.get(0).x); |
| 861 |
} |
| 862 |
} |
| 863 |
} |
| 864 |
} |
| 865 |
} finally { |
| 866 |
LEAVING("cu8ssjizw7ileqe9u7tcclq7k","limitBoxes"); |
| 867 |
} |
| 868 |
} |
| 869 |
|
| 870 |
|
| 871 |
|
| 872 |
|
| 873 |
|
| 874 |
|
| 875 |
public static __ptr__ _routesplines(ST_path pp, int npoints[], int polyline) { |
| 876 |
ENTERING("3mcnemqisisnqtd4mr72ej76y","_routesplines"); |
| 877 |
try { |
| 878 |
final ST_Ppoly_t poly = new ST_Ppoly_t(); |
| 879 |
final ST_Ppoly_t pl = new ST_Ppoly_t(), spl = new ST_Ppoly_t(); |
| 880 |
int splinepi; |
| 881 |
final ST_pointf.Array eps = new ST_pointf.Array( 2); |
| 882 |
final ST_pointf.Array evs = new ST_pointf.Array( 2); |
| 883 |
int edgei, prev, next; |
| 884 |
int pi=0, bi; |
| 885 |
ST_boxf[] boxes; |
| 886 |
int boxn; |
| 887 |
ST_Agedge_s realedge; |
| 888 |
int flip; |
| 889 |
int loopcnt, delta = 10; |
| 890 |
boolean unbounded; |
| 891 |
Z.z().nedges++; |
| 892 |
Z.z().nboxes += pp.nbox; |
| 893 |
for (realedge = (ST_Agedge_s) pp.data.castTo(ST_Agedge_s.class); |
| 894 |
realedge!=null && ED_edge_type(realedge) != 0; |
| 895 |
realedge = ED_to_orig(realedge)); |
| 896 |
if (N(realedge)) { |
| 897 |
UNSUPPORTED("agerr(AGERR, _in routesplines, cannot find NORMAL edge"); |
| 898 |
return null; |
| 899 |
} |
| 900 |
boxes = pp.boxes; |
| 901 |
boxn = pp.nbox; |
| 902 |
if (checkpath(boxn, boxes, pp)!=0) |
| 903 |
return null; |
| 904 |
if (boxn * 8 > Z.z().polypointn) { |
| 905 |
Z.z().polypoints = ALLOC_allocated_ST_pointf(Z.z().polypoints, boxn * 8); |
| 906 |
Z.z().polypointn = boxn * 8; |
| 907 |
} |
| 908 |
if ((boxn > 1) && (((ST_boxf)boxes[0]).LL.y > ((ST_boxf)boxes[1]).LL.y)) { |
| 909 |
flip = 1; |
| 910 |
for (bi = 0; bi < boxn; bi++) { |
| 911 |
double v = ((ST_boxf)boxes[bi]).UR.y; |
| 912 |
((ST_boxf)boxes[bi]).UR.y= -1*((ST_boxf)boxes[bi]).LL.y; |
| 913 |
((ST_boxf)boxes[bi]).LL.y = -v; |
| 914 |
} |
| 915 |
} |
| 916 |
else flip = 0; |
| 917 |
if (NEQ(agtail(realedge), aghead(realedge))) { |
| 918 |
|
| 919 |
|
| 920 |
for (bi = 0, pi = 0; bi < boxn; bi++) { |
| 921 |
next = prev = 0; |
| 922 |
if (bi > 0) |
| 923 |
prev = (((ST_boxf)boxes[bi]).LL.y > ((ST_boxf)boxes[bi-1]).LL.y) ? -1 : 1; |
| 924 |
if (bi < boxn - 1) |
| 925 |
next = (((ST_boxf)boxes[bi+1]).LL.y > ((ST_boxf)boxes[bi]).LL.y) ? 1 : -1; |
| 926 |
if (prev != next) { |
| 927 |
if (next == -1 || prev == 1) { |
| 928 |
Z.z().polypoints.plus(pi).setDouble("x", ((ST_boxf)boxes[bi]).LL.x); |
| 929 |
Z.z().polypoints.plus(pi++).setDouble("y", ((ST_boxf)boxes[bi]).UR.y); |
| 930 |
Z.z().polypoints.plus(pi).setDouble("x", ((ST_boxf)boxes[bi]).LL.x); |
| 931 |
Z.z().polypoints.plus(pi++).setDouble("y", ((ST_boxf)boxes[bi]).LL.y); |
| 932 |
} else { |
| 933 |
Z.z().polypoints.plus(pi).setDouble("x", ((ST_boxf)boxes[bi]).UR.x); |
| 934 |
Z.z().polypoints.plus(pi++).setDouble("y", ((ST_boxf)boxes[bi]).LL.y); |
| 935 |
Z.z().polypoints.plus(pi).setDouble("x", ((ST_boxf)boxes[bi]).UR.x); |
| 936 |
Z.z().polypoints.plus(pi++).setDouble("y", ((ST_boxf)boxes[bi]).UR.y); |
| 937 |
} |
| 938 |
} |
| 939 |
else if (prev == 0) { |
| 940 |
UNSUPPORTED("2bfai79qe7cec0rljrn56jg2f"); |
| 941 |
UNSUPPORTED("cjppvcr7k9pknjrjugccsky56"); |
| 942 |
UNSUPPORTED("2bfai79qe7cec0rljrn56jg2f"); |
| 943 |
UNSUPPORTED("99xeozpks5v0iza4sv2occuuq"); |
| 944 |
} |
| 945 |
else { |
| 946 |
if (N(prev == -1 && next == -1)) { |
| 947 |
UNSUPPORTED("cgpvvfb9phbipyhij0cjh1nmi"); |
| 948 |
UNSUPPORTED("9idk92zg2ysz316lfwzvvvde6"); |
| 949 |
} |
| 950 |
} |
| 951 |
} |
| 952 |
for (bi = boxn - 1; bi >= 0; bi--) { |
| 953 |
next = prev = 0; |
| 954 |
if (bi < boxn - 1) |
| 955 |
prev = (((ST_boxf)boxes[bi]).LL.y > ((ST_boxf)boxes[bi+1]).LL.y) ? -1 : 1; |
| 956 |
if (bi > 0) |
| 957 |
next = (((ST_boxf)boxes[bi-1]).LL.y > ((ST_boxf)boxes[bi]).LL.y) ? 1 : -1; |
| 958 |
if (prev != next) { |
| 959 |
if (next == -1 || prev == 1 ) { |
| 960 |
Z.z().polypoints.plus(pi).setDouble("x", ((ST_boxf)boxes[bi]).LL.x); |
| 961 |
Z.z().polypoints.plus(pi++).setDouble("y", ((ST_boxf)boxes[bi]).UR.y); |
| 962 |
Z.z().polypoints.plus(pi).setDouble("x", ((ST_boxf)boxes[bi]).LL.x); |
| 963 |
Z.z().polypoints.plus(pi++).setDouble("y", ((ST_boxf)boxes[bi]).LL.y); |
| 964 |
} else { |
| 965 |
Z.z().polypoints.plus(pi).setDouble("x", ((ST_boxf)boxes[bi]).UR.x); |
| 966 |
Z.z().polypoints.plus(pi++).setDouble("y", ((ST_boxf)boxes[bi]).LL.y); |
| 967 |
Z.z().polypoints.plus(pi).setDouble("x", ((ST_boxf)boxes[bi]).UR.x); |
| 968 |
Z.z().polypoints.plus(pi++).setDouble("y", ((ST_boxf)boxes[bi]).UR.y); |
| 969 |
} |
| 970 |
} |
| 971 |
else if (prev == 0) { |
| 972 |
UNSUPPORTED("ya84m81ogarx28l99om39lba"); |
| 973 |
UNSUPPORTED("99xeozpks5v0iza4sv2occuuq"); |
| 974 |
UNSUPPORTED("ya84m81ogarx28l99om39lba"); |
| 975 |
UNSUPPORTED("cjppvcr7k9pknjrjugccsky56"); |
| 976 |
} |
| 977 |
else { |
| 978 |
if (N(prev == -1 && next == -1)) { |
| 979 |
UNSUPPORTED("87y5d0ts6xdjyx905bha50f3s"); |
| 980 |
UNSUPPORTED("1qt7hixteu3pt64wk1sqw352a"); |
| 981 |
UNSUPPORTED("35untdbpd42pt4c74gjbxqx7q"); |
| 982 |
} |
| 983 |
Z.z().polypoints.plus(pi).setDouble("x", ((ST_boxf)boxes[bi]).UR.x); |
| 984 |
Z.z().polypoints.plus(pi++).setDouble("y", ((ST_boxf)boxes[bi]).LL.y); |
| 985 |
Z.z().polypoints.plus(pi).setDouble("x", ((ST_boxf)boxes[bi]).UR.x); |
| 986 |
Z.z().polypoints.plus(pi++).setDouble("y", ((ST_boxf)boxes[bi]).UR.y); |
| 987 |
Z.z().polypoints.plus(pi).setDouble("x", ((ST_boxf)boxes[bi]).LL.x); |
| 988 |
Z.z().polypoints.plus(pi++).setDouble("y", ((ST_boxf)boxes[bi]).UR.y); |
| 989 |
Z.z().polypoints.plus(pi).setDouble("x", ((ST_boxf)boxes[bi]).LL.x); |
| 990 |
Z.z().polypoints.plus(pi++).setDouble("y", ((ST_boxf)boxes[bi]).LL.y); |
| 991 |
} |
| 992 |
} |
| 993 |
} |
| 994 |
else { |
| 995 |
UNSUPPORTED("1izvmtfwbnl5xq4u2x5fdraxp"); |
| 996 |
UNSUPPORTED("11hwqop4xebvtcskop4uhpp01"); |
| 997 |
} |
| 998 |
if (flip!=0) { |
| 999 |
int i; |
| 1000 |
for (bi = 0; bi < boxn; bi++) { |
| 1001 |
int v = (int) ((ST_boxf)boxes[bi]).UR.y; |
| 1002 |
((ST_boxf)boxes[bi]).UR.y = -1*((ST_boxf)boxes[bi]).LL.y; |
| 1003 |
((ST_boxf)boxes[bi]).LL.y = -v; |
| 1004 |
} |
| 1005 |
for (i = 0; i < pi; i++) |
| 1006 |
Z.z().polypoints.plus(i).setDouble("y", -1 * Z.z().polypoints.get(i).y); |
| 1007 |
} |
| 1008 |
for (bi = 0; bi < boxn; bi++) { |
| 1009 |
((ST_boxf)boxes[bi]).LL.x = INT_MAX; |
| 1010 |
((ST_boxf)boxes[bi]).UR.x = INT_MIN; |
| 1011 |
} |
| 1012 |
poly.ps = Z.z().polypoints; |
| 1013 |
poly.pn = pi; |
| 1014 |
eps.plus(0).getStruct().setDouble("x", pp.start.p.x); |
| 1015 |
eps.plus(0).getStruct().setDouble("y", pp.start.p.y); |
| 1016 |
eps.plus(1).getStruct().setDouble("x", pp.end.p.x); |
| 1017 |
eps.plus(1).getStruct().setDouble("y", pp.end.p.y); |
| 1018 |
if (Pshortestpath(poly, eps, pl) < 0) { |
| 1019 |
System.err.println("in routesplines, Pshortestpath failed\n"); |
| 1020 |
return null; |
| 1021 |
} |
| 1022 |
if (polyline!=0) { |
| 1023 |
UNSUPPORTED("48veztc3k9dfw8tqolu7jsktk"); |
| 1024 |
} |
| 1025 |
else { |
| 1026 |
if (poly.pn > Z.z().edgen) { |
| 1027 |
Z.z().edges = ALLOC_allocated_ST_Pedge_t(Z.z().edges, poly.pn); |
| 1028 |
Z.z().edgen = poly.pn; |
| 1029 |
} |
| 1030 |
for (edgei = 0; edgei < poly.pn; edgei++) { |
| 1031 |
Z.z().edges.plus(edgei).setStruct("a", Z.z().polypoints.plus(edgei).getStruct()); |
| 1032 |
Z.z().edges.plus(edgei).setStruct("b", Z.z().polypoints.plus((edgei + 1) % poly.pn).getStruct()); |
| 1033 |
} |
| 1034 |
if (pp.start.constrained!=0) { |
| 1035 |
evs.plus(0).getStruct().setDouble("x", cos(pp.start.theta)); |
| 1036 |
evs.plus(0).getStruct().setDouble("y", sin(pp.start.theta)); |
| 1037 |
} else |
| 1038 |
{ |
| 1039 |
evs.plus(0).getStruct().setDouble("x", 0); |
| 1040 |
evs.plus(0).getStruct().setDouble("y", 0); |
| 1041 |
} |
| 1042 |
if (pp.end.constrained!=0) { |
| 1043 |
evs.plus(1).getStruct().setDouble("x", -cos(pp.end.theta)); |
| 1044 |
evs.plus(1).getStruct().setDouble("y", -sin(pp.end.theta)); |
| 1045 |
} else |
| 1046 |
{ |
| 1047 |
evs.plus(1).getStruct().setDouble("x", 0); |
| 1048 |
evs.plus(1).getStruct().setDouble("y", 0); |
| 1049 |
} |
| 1050 |
if (Proutespline(Z.z().edges, poly.pn, pl, evs.asPtr(), spl) < 0) { |
| 1051 |
UNSUPPORTED("elkeyywrfd4hq75w7toc94rzs"); |
| 1052 |
UNSUPPORTED("7t3fvwp9cv90qu5bdjdglcgtk"); |
| 1053 |
} |
| 1054 |
} |
| 1055 |
if (mkspacep(spl.pn)) |
| 1056 |
UNSUPPORTED("7x5kpcbvg4va887hky7ufm45y"); |
| 1057 |
for (bi = 0; bi < boxn; bi++) { |
| 1058 |
boxes[bi].LL.setDouble("x", INT_MAX); |
| 1059 |
boxes[bi].UR.setDouble("x", INT_MIN); |
| 1060 |
} |
| 1061 |
unbounded = NOT(false); |
| 1062 |
for (splinepi = 0; splinepi < spl.pn; splinepi++) { |
| 1063 |
Z.z().ps.plus(splinepi).setStruct(spl.ps.plus(splinepi).getStruct()); |
| 1064 |
} |
| 1065 |
for (loopcnt = 0; unbounded && (loopcnt < 15); loopcnt++) { |
| 1066 |
limitBoxes (boxes, boxn, Z.z().ps, spl.pn, delta); |
| 1067 |
|
| 1068 |
|
| 1069 |
|
| 1070 |
|
| 1071 |
|
| 1072 |
for (bi = 0; bi < boxn; bi++) { |
| 1073 |
|
| 1074 |
|
| 1075 |
if ((boxes[bi].LL.x == INT_MAX) || (boxes[bi].UR.x == INT_MIN)) { |
| 1076 |
delta *= 2; |
| 1077 |
if (delta > INT_MAX/boxn) |
| 1078 |
loopcnt = 15; |
| 1079 |
break; |
| 1080 |
} |
| 1081 |
} |
| 1082 |
if (bi == boxn) |
| 1083 |
unbounded = false; |
| 1084 |
} |
| 1085 |
if (unbounded) { |
| 1086 |
|
| 1087 |
|
| 1088 |
|
| 1089 |
|
| 1090 |
|
| 1091 |
final ST_Ppoly_t polyspl = new ST_Ppoly_t(); |
| 1092 |
System.err.println("Unable to reclaim box space in spline routing for edge \"%s\" -> \"%s\". Something is probably seriously wrong.\n"); |
| 1093 |
make_polyline (pl, polyspl); |
| 1094 |
limitBoxes (boxes, boxn, polyspl.ps, polyspl.pn, 10); |
| 1095 |
Memory.free (polyspl.ps); |
| 1096 |
} |
| 1097 |
npoints[0] = spl.pn; |
| 1098 |
return Z.z().ps; |
| 1099 |
} finally { |
| 1100 |
LEAVING("3mcnemqisisnqtd4mr72ej76y","_routesplines"); |
| 1101 |
} |
| 1102 |
} |
| 1103 |
|
| 1104 |
|
| 1105 |
|
| 1106 |
|
| 1107 |
|
| 1108 |
|
| 1109 |
public static ST_pointf.Array routesplines(ST_path pp, int npoints[]) { |
| 1110 |
ENTERING("axqoytp2rpr8crajhkuvns6q9","routesplines"); |
| 1111 |
try { |
| 1112 |
return (ST_pointf.Array) _routesplines (pp, npoints, 0); |
| 1113 |
} finally { |
| 1114 |
LEAVING("axqoytp2rpr8crajhkuvns6q9","routesplines"); |
| 1115 |
} |
| 1116 |
} |
| 1117 |
|
| 1118 |
|
| 1119 |
|
| 1120 |
|
| 1121 |
|
| 1122 |
|
| 1123 |
public static ST_pointf.Array routepolylines(ST_path pp, int npoints[]) { |
| 1124 |
ENTERING("2v22s41xitwnnsljk9n01nrcy","routepolylines"); |
| 1125 |
try { |
| 1126 |
UNSUPPORTED("1kjkc6bl8zpf8zjcwgbyni9p3"); |
| 1127 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 1128 |
UNSUPPORTED("6wf7p4npeom96y0l1v39essmx"); |
| 1129 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 1130 |
|
| 1131 |
throw new UnsupportedOperationException(); |
| 1132 |
} finally { |
| 1133 |
LEAVING("2v22s41xitwnnsljk9n01nrcy","routepolylines"); |
| 1134 |
} |
| 1135 |
} |
| 1136 |
|
| 1137 |
|
| 1138 |
|
| 1139 |
|
| 1140 |
|
| 1141 |
|
| 1142 |
public static int overlap(double i0, double i1, double j0, double j1) {return overlap((int) i0, (int) i1, (int) j0, (int) j1);} |
| 1143 |
public static int overlap(int i0, int i1, int j0, int j1) { |
| 1144 |
ENTERING("65qv6x7ghwyt6hey5qd8cgizn","overlap"); |
| 1145 |
try { |
| 1146 |
|
| 1147 |
if (i1 <= j0) |
| 1148 |
return 0; |
| 1149 |
if (i0 >= j1) |
| 1150 |
return 0; |
| 1151 |
if ((j0 <= i0) && (i0 <= j1)) |
| 1152 |
return (j1 - i0); |
| 1153 |
if ((j0 <= i1) && (i1 <= j1)) |
| 1154 |
return (i1 - j0); |
| 1155 |
return MIN(i1 - i0, j1 - j0); |
| 1156 |
} finally { |
| 1157 |
LEAVING("65qv6x7ghwyt6hey5qd8cgizn","overlap"); |
| 1158 |
} |
| 1159 |
} |
| 1160 |
|
| 1161 |
|
| 1162 |
|
| 1163 |
|
| 1164 |
|
| 1165 |
|
| 1166 |
public static int checkpath(int boxn, ST_boxf[] boxes, ST_path thepath) { |
| 1167 |
ENTERING("dxqjhiid5f58b9gjxp0v3j97b","checkpath"); |
| 1168 |
try { |
| 1169 |
ST_boxf ba, bb; |
| 1170 |
int bi, i, errs, l, r, d, u; |
| 1171 |
int xoverlap, yoverlap; |
| 1172 |
|
| 1173 |
i = 0; |
| 1174 |
for (bi = 0; bi < boxn; bi++) { |
| 1175 |
if (ABS(((ST_boxf)boxes[bi]).LL.y - ((ST_boxf)boxes[bi]).UR.y) < .01) |
| 1176 |
continue; |
| 1177 |
if (ABS(((ST_boxf)boxes[bi]).LL.x - ((ST_boxf)boxes[bi]).UR.x) < .01) |
| 1178 |
continue; |
| 1179 |
if (i != bi) |
| 1180 |
boxes[i].setStruct(boxes[bi]); |
| 1181 |
i++; |
| 1182 |
} |
| 1183 |
boxn = i; |
| 1184 |
ba = (ST_boxf) boxes[0]; |
| 1185 |
if (ba.LL.x > ba.UR.x || ba.LL.y > ba.UR.y) { |
| 1186 |
UNSUPPORTED("39tznwvf6k5lgj78jp32p0kfl"); |
| 1187 |
UNSUPPORTED("evdvb9esh16y8zeoczxhcz7xm"); |
| 1188 |
UNSUPPORTED("eleqpc2p2r3hvma6tipoy7tr"); |
| 1189 |
} |
| 1190 |
for (bi = 0; bi < boxn - 1; bi++) { |
| 1191 |
ba = (ST_boxf) boxes[bi]; |
| 1192 |
bb = (ST_boxf) boxes[bi + 1]; |
| 1193 |
if (bb.LL.x > bb.UR.x || bb.LL.y > bb.UR.y) { |
| 1194 |
UNSUPPORTED("c8oodo0ge4n4dglb28fvf610v"); |
| 1195 |
UNSUPPORTED("929pkk2ob1lh7hfe4scuoo5pn"); |
| 1196 |
UNSUPPORTED("2m9o6g4nneiul4gt8xb9yb9zi"); |
| 1197 |
UNSUPPORTED("btmwubugs9vkexo4yb7a5nqel"); |
| 1198 |
} |
| 1199 |
l = (ba.UR.x < bb.LL.x) ? 1 : 0; |
| 1200 |
r = (ba.LL.x > bb.UR.x) ? 1 : 0; |
| 1201 |
d = (ba.UR.y < bb.LL.y) ? 1 : 0; |
| 1202 |
u = (ba.LL.y > bb.UR.y) ? 1 : 0; |
| 1203 |
errs = l + r + d + u; |
| 1204 |
|
| 1205 |
|
| 1206 |
|
| 1207 |
|
| 1208 |
|
| 1209 |
if (errs > 0) { |
| 1210 |
int xy; |
| 1211 |
if (l == 1) |
| 1212 |
{ |
| 1213 |
xy = (int) ba.UR.x; |
| 1214 |
ba.UR.setDouble("x", bb.LL.x); |
| 1215 |
bb.LL.setDouble("x", xy); |
| 1216 |
l = 0; |
| 1217 |
} |
| 1218 |
else if (r == 1) { |
| 1219 |
xy = (int)(ba.LL.x); |
| 1220 |
ba.LL.setDouble("x", bb.UR.x); |
| 1221 |
bb.UR.setDouble("x", xy); |
| 1222 |
r = 0; |
| 1223 |
} |
| 1224 |
else if (d == 1) { |
| 1225 |
xy = (int)(ba.UR.y); |
| 1226 |
ba.UR.setDouble("y", bb.LL.y); |
| 1227 |
bb.LL.setDouble("y", xy); |
| 1228 |
d = 0; |
| 1229 |
} |
| 1230 |
else if (u == 1) |
| 1231 |
UNSUPPORTED("5kcd52bwvbxxs0md0enfs100u"); |
| 1232 |
for (i = 0; i < errs - 1; i++) { |
| 1233 |
UNSUPPORTED("as3p2ldwbg3rbgy64oxx5phar"); |
| 1234 |
UNSUPPORTED("efz1z5cfywki1k6q6avldku9z"); |
| 1235 |
UNSUPPORTED("6dfh7cf1xptapqd1mcqtxjrxa"); |
| 1236 |
UNSUPPORTED("ang3qytu77fd5owijwbnmkdav"); |
| 1237 |
UNSUPPORTED("67ehof0qqlk339zgl0sqwfu5r"); |
| 1238 |
UNSUPPORTED("llmwvndoq1ne9c62ohtstkwa"); |
| 1239 |
UNSUPPORTED("3ce9i9asrqbuog7v1tdurqo6e"); |
| 1240 |
UNSUPPORTED("3mibjrb2jtfextkg9ac5k9spl"); |
| 1241 |
UNSUPPORTED("bccpbv2n38c5utkfh7msoc2y"); |
| 1242 |
UNSUPPORTED("7302rnmwdji9n7txquk8k36to"); |
| 1243 |
UNSUPPORTED("9oqpoodvpheztihe63p40guof"); |
| 1244 |
UNSUPPORTED("2cnb1bdjh6y26f98vonla73qa"); |
| 1245 |
} |
| 1246 |
} |
| 1247 |
|
| 1248 |
xoverlap = overlap(ba.LL.x, ba.UR.x, bb.LL.x, bb.UR.x); |
| 1249 |
yoverlap = overlap(ba.LL.y, ba.UR.y, bb.LL.y, bb.UR.y); |
| 1250 |
if (xoverlap!=0 && yoverlap!=0) { |
| 1251 |
if (xoverlap < yoverlap) { |
| 1252 |
if (ba.UR.x - ba.LL.x > bb.UR.x - bb.LL.x) { |
| 1253 |
|
| 1254 |
UNSUPPORTED("5dqxf3gq05pjtobtnru1g2tuj"); |
| 1255 |
UNSUPPORTED("8gz6k803qp9zyw9s459cpp039"); |
| 1256 |
UNSUPPORTED("9acag2yacl63g8rg6r1alu62x"); |
| 1257 |
UNSUPPORTED("5r6ck8hfb1cxywn9go61se9kx"); |
| 1258 |
} else { |
| 1259 |
|
| 1260 |
if (ba.UR.x < bb.UR.x) |
| 1261 |
bb.LL.setDouble("x", ba.UR.x); |
| 1262 |
else |
| 1263 |
bb.UR.setDouble("x", ba.LL.x); |
| 1264 |
} |
| 1265 |
} else { |
| 1266 |
if (ba.UR.y - ba.LL.y > bb.UR.y - bb.LL.y) { |
| 1267 |
|
| 1268 |
if (ba.UR.y < bb.UR.y) |
| 1269 |
ba.UR.setDouble("y", bb.LL.y); |
| 1270 |
else |
| 1271 |
ba.LL.setDouble("y", bb.UR.y); |
| 1272 |
} else { |
| 1273 |
|
| 1274 |
if (ba.UR.y < bb.UR.y) |
| 1275 |
bb.LL.setDouble("y", ba.UR.y); |
| 1276 |
else |
| 1277 |
bb.UR.setDouble("y", ba.LL.y); |
| 1278 |
} |
| 1279 |
} |
| 1280 |
} |
| 1281 |
} |
| 1282 |
if (thepath.start.p.x < ((ST_boxf)boxes[0]).LL.x |
| 1283 |
|| thepath.start.p.x > ((ST_boxf)boxes[0]).UR.x |
| 1284 |
|| thepath.start.p.y < ((ST_boxf)boxes[0]).LL.y |
| 1285 |
|| thepath.start.p.y > ((ST_boxf)boxes[0]).UR.y) { |
| 1286 |
|
| 1287 |
|
| 1288 |
|
| 1289 |
|
| 1290 |
if (thepath.start.p.x < ((ST_boxf)boxes[0]).LL.x) |
| 1291 |
thepath.start.p.setDouble("x", ((ST_boxf)boxes[0]).LL.x); |
| 1292 |
if (thepath.start.p.x > ((ST_boxf)boxes[0]).UR.x) |
| 1293 |
thepath.start.p.setDouble("x", ((ST_boxf)boxes[0]).UR.x); |
| 1294 |
if (thepath.start.p.y < ((ST_boxf)boxes[0]).LL.y) |
| 1295 |
thepath.start.p.setDouble("y", ((ST_boxf)boxes[0]).LL.y); |
| 1296 |
if (thepath.start.p.y > ((ST_boxf)boxes[0]).UR.y) |
| 1297 |
thepath.start.p.setDouble("y", ((ST_boxf)boxes[0]).UR.y); |
| 1298 |
} |
| 1299 |
if (thepath.end.p.x < ((ST_boxf)boxes[boxn - 1]).LL.x |
| 1300 |
|| thepath.end.p.x > ((ST_boxf)boxes[boxn - 1]).UR.x |
| 1301 |
|| thepath.end.p.y < ((ST_boxf)boxes[boxn - 1]).LL.y |
| 1302 |
|| thepath.end.p.y > ((ST_boxf)boxes[boxn - 1]).UR.y) { |
| 1303 |
|
| 1304 |
|
| 1305 |
|
| 1306 |
|
| 1307 |
if (thepath.end.p.x < ((ST_boxf)boxes[boxn - 1]).LL.x) |
| 1308 |
thepath.end.p.setDouble("x", ((ST_boxf)boxes[boxn - 1]).LL.x); |
| 1309 |
if (thepath.end.p.x > ((ST_boxf)boxes[boxn - 1]).UR.x) |
| 1310 |
thepath.end.p.setDouble("x", ((ST_boxf)boxes[boxn - 1]).UR.x); |
| 1311 |
if (thepath.end.p.y < ((ST_boxf)boxes[boxn - 1]).LL.y) |
| 1312 |
thepath.end.p.setDouble("y", ((ST_boxf)boxes[boxn - 1]).LL.y); |
| 1313 |
if (thepath.end.p.y > ((ST_boxf)boxes[boxn - 1]).UR.y) |
| 1314 |
thepath.end.p.setDouble("y", ((ST_boxf)boxes[boxn - 1]).UR.y); |
| 1315 |
} |
| 1316 |
return 0; |
| 1317 |
} finally { |
| 1318 |
LEAVING("dxqjhiid5f58b9gjxp0v3j97b","checkpath"); |
| 1319 |
} |
| 1320 |
} |
| 1321 |
|
| 1322 |
|
| 1323 |
|
| 1324 |
|
| 1325 |
|
| 1326 |
|
| 1327 |
public static boolean mkspacep(int size) { |
| 1328 |
ENTERING("de6jvvw786rx88318tuuqywgq","mkspacep"); |
| 1329 |
try { |
| 1330 |
if (size > Z.z().maxpn) { |
| 1331 |
int newmax = Z.z().maxpn + (size / 300 + 1) * 300; |
| 1332 |
Z.z().ps = Z.z().ps.reallocJ(newmax); |
| 1333 |
if (N(Z.z().ps)) { |
| 1334 |
UNSUPPORTED("ds2v91aohji00tc7zmjuc3v6q"); |
| 1335 |
UNSUPPORTED("btmwubugs9vkexo4yb7a5nqel"); |
| 1336 |
} |
| 1337 |
Z.z().maxpn = newmax; |
| 1338 |
} |
| 1339 |
return false; |
| 1340 |
} finally { |
| 1341 |
LEAVING("de6jvvw786rx88318tuuqywgq","mkspacep"); |
| 1342 |
} |
| 1343 |
} |
| 1344 |
|
| 1345 |
|
| 1346 |
|
| 1347 |
|
| 1348 |
|
| 1349 |
|
| 1350 |
public static Object printpath(Object... arg) { |
| 1351 |
UNSUPPORTED("baqhg7gu97aw2vlb1lexu7ocs"); |
| 1352 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 1353 |
UNSUPPORTED("8k9loe0uz6grwq8fq5iqfih2c"); |
| 1354 |
UNSUPPORTED("hop7xuggqoec7e0p0gpzb5ys"); |
| 1355 |
UNSUPPORTED("fqxwgt6brxm5novm8sey6vp3"); |
| 1356 |
UNSUPPORTED("2n85v7ex13a1rhnx63lam2yth"); |
| 1357 |
UNSUPPORTED("86zhcjpiy229kbbomcqmj1bvn"); |
| 1358 |
UNSUPPORTED("dbddokl6i6319f232oqnbecmv"); |
| 1359 |
UNSUPPORTED("867y6166h7x6yibezm0cb0cf1"); |
| 1360 |
UNSUPPORTED("8nze219nhghn1a0uewjfq30xr"); |
| 1361 |
UNSUPPORTED("1apwqgz53812wo2ejjdn8zz3h"); |
| 1362 |
UNSUPPORTED("4i8p7ha6i9bkydbg3i04ssmqj"); |
| 1363 |
UNSUPPORTED("32nx4386ouvodf09v0u4emfkv"); |
| 1364 |
UNSUPPORTED("d7cxrqy42haay280fzr1e81ts"); |
| 1365 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 1366 |
|
| 1367 |
throw new UnsupportedOperationException(); |
| 1368 |
} |
| 1369 |
|
| 1370 |
|
| 1371 |
|
| 1372 |
|
| 1373 |
|
| 1374 |
|
| 1375 |
public static Object get_centroid(Object... arg) { |
| 1376 |
UNSUPPORTED("2zo1gwkn1bj1agy4g8dxcfmh"); |
| 1377 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 1378 |
UNSUPPORTED("6reqgncjwgiuo3fb8rkhmtjv1"); |
| 1379 |
UNSUPPORTED("e1s7ys0dbvp12r1vo9cdl7sp0"); |
| 1380 |
UNSUPPORTED("4nx1l2ustbo0ptupk2ja9ekds"); |
| 1381 |
UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); |
| 1382 |
UNSUPPORTED("f17csexi07fwmif5pkxj2wgr1"); |
| 1383 |
UNSUPPORTED("8hoglhn0m8txbvp8w9fvo5cwt"); |
| 1384 |
UNSUPPORTED("e8d6re0f7zq6d14zby6lxtm85"); |
| 1385 |
UNSUPPORTED("5xw9py1u6p24f7e8fju2hsmw0"); |
| 1386 |
UNSUPPORTED("a1cvki7btccn0pv2gpusya4pt"); |
| 1387 |
UNSUPPORTED("7wq24g054kmx3aw25vk5ksj4"); |
| 1388 |
UNSUPPORTED("7mgmah70c4cze5ed5zlcjfnpj"); |
| 1389 |
UNSUPPORTED("3pk32i8trbg5r4tjfzi0xepsa"); |
| 1390 |
UNSUPPORTED("77mslev6fngkh87g2jkd6j87j"); |
| 1391 |
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); |
| 1392 |
UNSUPPORTED("ci5ydgm2xpqvgw8qn5sz0317w"); |
| 1393 |
UNSUPPORTED("f1ofwhoh52tmotz2jx74ji4h5"); |
| 1394 |
UNSUPPORTED("e8d6re0f7zq6d14zby6lxtm85"); |
| 1395 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 1396 |
|
| 1397 |
throw new UnsupportedOperationException(); |
| 1398 |
} |
| 1399 |
|
| 1400 |
|
| 1401 |
|
| 1402 |
|
| 1403 |
|
| 1404 |
|
| 1405 |
public static Object bend(Object... arg) { |
| 1406 |
UNSUPPORTED("4ftn2rr6n4c36dbi9as8t8g5h"); |
| 1407 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 1408 |
UNSUPPORTED("1xm6245yjmk93iuvvm93e1rci"); |
| 1409 |
UNSUPPORTED("6zgogm7cuuy7co8hhompfoo5"); |
| 1410 |
UNSUPPORTED("9lxjpyaeeeq2agdn7fik6kzhs"); |
| 1411 |
UNSUPPORTED("5bkk1q959a76y20xt0228j9d7"); |
| 1412 |
UNSUPPORTED("bfx7hrazv0khewy4e1ejp2kyb"); |
| 1413 |
UNSUPPORTED("9ydjah76t018eukiay40izzko"); |
| 1414 |
UNSUPPORTED("ap0c81vlb8rsjnpumymlnvzrl"); |
| 1415 |
UNSUPPORTED("dfs4ufukqaz9pf7ey54fbuaco"); |
| 1416 |
UNSUPPORTED("97su53ievky8nzohnw0en0a6e"); |
| 1417 |
UNSUPPORTED("6ld19omy1z68vprfzbhrjqr2z"); |
| 1418 |
UNSUPPORTED("cltgduzxyw56ktxuoeoqt4bkm"); |
| 1419 |
UNSUPPORTED("h4thwscp36mqboiugjkim5um"); |
| 1420 |
UNSUPPORTED("5q6wpyh72kf9xggy2oc929uc3"); |
| 1421 |
UNSUPPORTED("1w5d961mnlte15ap13tdi5sv2"); |
| 1422 |
UNSUPPORTED("2oxj7hzixzdciej9f8u7xe49o"); |
| 1423 |
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); |
| 1424 |
UNSUPPORTED("645kbqr5zpbe6vj9z3o2x5yrb"); |
| 1425 |
UNSUPPORTED("72i64plp6g9odwle7ly7wgn4a"); |
| 1426 |
UNSUPPORTED("at1u1jcu4ulhd191p0rfc9e8j"); |
| 1427 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 1428 |
|
| 1429 |
throw new UnsupportedOperationException(); |
| 1430 |
} |
| 1431 |
|
| 1432 |
|
| 1433 |
|
| 1434 |
|
| 1435 |
|
| 1436 |
|
| 1437 |
public static Object makeStraightEdge(Object... arg) { |
| 1438 |
UNSUPPORTED("347dderd02mvlozoheqo4ejwo"); |
| 1439 |
UNSUPPORTED("89t1p0jilkexnvk5i1vv1arc0"); |
| 1440 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 1441 |
UNSUPPORTED("7pmvaj5a5w3pee9zkh22s4jt5"); |
| 1442 |
UNSUPPORTED("821nfzu5iwd6ayryeggj37hj2"); |
| 1443 |
UNSUPPORTED("19s88cb2xh6yjpqg0ip3ovi08"); |
| 1444 |
UNSUPPORTED("5dd4r3fk1fwybt8tvqt4z4ta3"); |
| 1445 |
UNSUPPORTED("310og4kvqsrlm4vs26zqw8c8p"); |
| 1446 |
UNSUPPORTED("63kfcznl8sc62h1pj6k83cjn3"); |
| 1447 |
UNSUPPORTED("1451mr2njzp5m6mj64k6m36tf"); |
| 1448 |
UNSUPPORTED("1qovtxs3b3fa6ztj4wx1ahkf2"); |
| 1449 |
UNSUPPORTED("bp3rco5i77vkqs7wua0k7dbfo"); |
| 1450 |
UNSUPPORTED("div10atae09n36x269sl208r1"); |
| 1451 |
UNSUPPORTED("8zwb4z35iwpyfy9d9n4b51yvh"); |
| 1452 |
UNSUPPORTED("63kfcznl8sc62h1pj6k83cjn3"); |
| 1453 |
UNSUPPORTED("tf4qi3e2hsjxi603z57w6hx6"); |
| 1454 |
UNSUPPORTED("106t1hs57atf24mgepcp9wwjw"); |
| 1455 |
UNSUPPORTED("dfdtts0ddwzo6ffy5m1pso8t6"); |
| 1456 |
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); |
| 1457 |
UNSUPPORTED("db2lohkib2plgiw7i90nxgkjk"); |
| 1458 |
UNSUPPORTED("b1xlizpp11lvumjyajfk6mxky"); |
| 1459 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 1460 |
|
| 1461 |
throw new UnsupportedOperationException(); |
| 1462 |
} |
| 1463 |
|
| 1464 |
|
| 1465 |
|
| 1466 |
|
| 1467 |
|
| 1468 |
|
| 1469 |
public static Object makeStraightEdges(Object... arg) { |
| 1470 |
UNSUPPORTED("347dderd02mvlozoheqo4ejwo"); |
| 1471 |
UNSUPPORTED("ayvyrhydt6lt2z6uvpxyh2nxn"); |
| 1472 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 1473 |
UNSUPPORTED("5u4oz0rrd9yradyuzr6qniald"); |
| 1474 |
UNSUPPORTED("cjx5v6hayed3q8eeub1cggqca"); |
| 1475 |
UNSUPPORTED("8i0kwb8r6a2sj6nuvcy3bg9rx"); |
| 1476 |
UNSUPPORTED("b6jt41a0u7si76m5i0lookv4x"); |
| 1477 |
UNSUPPORTED("2qrm9sibdk45g8miaadnlmf0z"); |
| 1478 |
UNSUPPORTED("e88o7l9ftcoq7m3q7njvm0hjb"); |
| 1479 |
UNSUPPORTED("7pmvaj5a5w3pee9zkh22s4jt5"); |
| 1480 |
UNSUPPORTED("5gypxs09iuryx5a2eho9lgdcp"); |
| 1481 |
UNSUPPORTED("39f8qp0sf99n5kz67fe1sjnao"); |
| 1482 |
UNSUPPORTED("5qf9bfxinlwybt6vckmul8n5c"); |
| 1483 |
UNSUPPORTED("biqd62eqps6szrtk8p8sci92q"); |
| 1484 |
UNSUPPORTED("3ircl7kohy2qt6yrj3lysuhor"); |
| 1485 |
UNSUPPORTED("b0ek9vxrdn6l0aponkc0ezxof"); |
| 1486 |
UNSUPPORTED("dul1axf6kjslblufm4omk5k32"); |
| 1487 |
UNSUPPORTED("9vcgvjkna4elv9mw682bcl1ry"); |
| 1488 |
UNSUPPORTED("b7iaxy7swt1knhamnyh2kvzlj"); |
| 1489 |
UNSUPPORTED("di45fpacl09sotabtbtbrk4bw"); |
| 1490 |
UNSUPPORTED("9yh32i6luwgciwhvrfvt8aw1a"); |
| 1491 |
UNSUPPORTED("coqqvdvknesi3rdbg68qcc6vn"); |
| 1492 |
UNSUPPORTED("ejd1q887zolcoupzctycvs5cv"); |
| 1493 |
UNSUPPORTED("11s5bteac4942mtfiiy4qbq5t"); |
| 1494 |
UNSUPPORTED("a7fgam0j0jm7bar0mblsv3no4"); |
| 1495 |
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); |
| 1496 |
UNSUPPORTED("63kfcznl8sc62h1pj6k83cjn3"); |
| 1497 |
UNSUPPORTED("6qz2idcg1avhf5caqig9ewcxv"); |
| 1498 |
UNSUPPORTED("738uip25tpsxuc3qvsye90wm7"); |
| 1499 |
UNSUPPORTED("bq580fqcdybbomvpm4qmh5jtq"); |
| 1500 |
UNSUPPORTED("8u36zhoh7cpf1dv8ky0ngt667"); |
| 1501 |
UNSUPPORTED("bgjd2ldhnogj885m52k0nxe0d"); |
| 1502 |
UNSUPPORTED("b1x914d40c33xvbmrjx82p563"); |
| 1503 |
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); |
| 1504 |
UNSUPPORTED("1nyzbeonram6636b1w955bypn"); |
| 1505 |
UNSUPPORTED("3ksfb9uz6ssvxevjyvfdhcx15"); |
| 1506 |
UNSUPPORTED("5qy02hcm7w3srhbws1saebqfk"); |
| 1507 |
UNSUPPORTED("dkis85cdygy51zdkxp4m6zrfn"); |
| 1508 |
UNSUPPORTED("60ix8gm4odvpl4njysex8efr4"); |
| 1509 |
UNSUPPORTED("9lo8r2t8xlvkucmcxj6r7zcjc"); |
| 1510 |
UNSUPPORTED("29kynt0cc7vrimccs1typen4c"); |
| 1511 |
UNSUPPORTED("8ffy5d6eokrgqxbbzlr3oeo7w"); |
| 1512 |
UNSUPPORTED("5ss1wkhlrlbzhjmgex5g5td0j"); |
| 1513 |
UNSUPPORTED("78hu4vl7uqaa2xjxh966lsl2z"); |
| 1514 |
UNSUPPORTED("czezd6edgg6prqa40qn4cjk99"); |
| 1515 |
UNSUPPORTED("brlhwaq7o7jlirlmbgsluegqc"); |
| 1516 |
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); |
| 1517 |
UNSUPPORTED("tf4qi3e2hsjxi603z57w6hx6"); |
| 1518 |
UNSUPPORTED("ezgc9yof65sv59h9bc3xaarqc"); |
| 1519 |
UNSUPPORTED("cdinc4vpag193dvamw97pjop"); |
| 1520 |
UNSUPPORTED("70bzwaan8xb1eymztyzg8db4z"); |
| 1521 |
UNSUPPORTED("7s7bzu6vkika1vowxe90pn8jl"); |
| 1522 |
UNSUPPORTED("xt68cvhca5ecivsf28r6480k"); |
| 1523 |
UNSUPPORTED("euip77qbbydsz8d5amnoqz2wp"); |
| 1524 |
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); |
| 1525 |
UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); |
| 1526 |
UNSUPPORTED("65qac2gqwej8ehvl0kr0azgoc"); |
| 1527 |
UNSUPPORTED("1p3ys1kne72eu96ymhhd08ki9"); |
| 1528 |
UNSUPPORTED("xt68cvhca5ecivsf28r6480k"); |
| 1529 |
UNSUPPORTED("cl6iic4z87ms6sxw112uwa8iq"); |
| 1530 |
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); |
| 1531 |
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); |
| 1532 |
UNSUPPORTED("duxo2x55p2xtgyt3bec5dikrr"); |
| 1533 |
UNSUPPORTED("3cuaxa5hpxf783bmxnedboxcr"); |
| 1534 |
UNSUPPORTED("ey5aedx85s5fe7o31ioqdfot3"); |
| 1535 |
UNSUPPORTED("8h359s121i98xp9zlr35vrgo9"); |
| 1536 |
UNSUPPORTED("57e37c2h1b5chgu6si6xi0cp4"); |
| 1537 |
UNSUPPORTED("phcktpjx2242lnn14blec2nu"); |
| 1538 |
UNSUPPORTED("5tjkl4ul3rus6dd6xt7wfhv9a"); |
| 1539 |
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); |
| 1540 |
UNSUPPORTED("5uszm2xlyusuekyfgopt358b8"); |
| 1541 |
UNSUPPORTED("4g67nliqr55eodkgwfdxbw87k"); |
| 1542 |
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); |
| 1543 |
UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); |
| 1544 |
UNSUPPORTED("cs4gj80s0cjsf32zlavo9gg0q"); |
| 1545 |
UNSUPPORTED("9g4169ket42x6bl41jrpu9vvm"); |
| 1546 |
UNSUPPORTED("8yg135oq3whkc9jbibbmn6v6a"); |
| 1547 |
UNSUPPORTED("9sw7189ksprjtdn4dlniux8z4"); |
| 1548 |
UNSUPPORTED("81xmo1my3dst3f72w8v2o3xb6"); |
| 1549 |
UNSUPPORTED("bba6iln00idzhk4wan9c8n5ja"); |
| 1550 |
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); |
| 1551 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 1552 |
|
| 1553 |
throw new UnsupportedOperationException(); |
| 1554 |
} |
| 1555 |
|
| 1556 |
|
| 1557 |
} |