/* ======================================================================== * PlantUML : a free UML diagram generator * ======================================================================== * * Project Info: http://plantuml.com * * If you like this project or if you find it useful, you can support us at: * * http://plantuml.com/patreon (only 1$ per month!) * http://plantuml.com/paypal * * This file is part of Smetana. * Smetana is a partial translation of Graphviz/Dot sources from C to Java. * * (C) Copyright 2009-2020, Arnaud Roques * * This translation is distributed under the same Licence as the original C program: * ************************************************************************* * Copyright (c) 2011 AT&T Intellectual Property * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: See CVS logs. Details at http://www.graphviz.org/ ************************************************************************* * * THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC * LICENSE ("AGREEMENT"). [Eclipse Public License - v 1.0] * * ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES * RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. * * You may obtain a copy of the License at * * http://www.eclipse.org/legal/epl-v10.html * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ package gen.lib.dotgen; import static smetana.core.JUtilsDebug.ENTERING; import static smetana.core.JUtilsDebug.LEAVING; import static smetana.core.Macro.UNSUPPORTED; import h.ST_pointf; public class compound__c { //1 2digov3edok6d5srhgtlmrycs // extern lt_symlist_t lt_preloaded_symbols[] //1 baedz5i9est5csw3epz3cv7z // typedef Ppoly_t Ppolyline_t //1 9k44uhd5foylaeoekf3llonjq // extern Dtmethod_t* Dtset //1 1ahfywsmzcpcig2oxm7pt9ihj // extern Dtmethod_t* Dtbag //1 anhghfj3k7dmkudy2n7rvt31v // extern Dtmethod_t* Dtoset //1 5l6oj1ux946zjwvir94ykejbc // extern Dtmethod_t* Dtobag //1 2wtf222ak6cui8cfjnw6w377z // extern Dtmethod_t* Dtlist //1 d1s1s6ibtcsmst88e3057u9r7 // extern Dtmethod_t* Dtstack //1 axa7mflo824p6fspjn1rdk0mt // extern Dtmethod_t* Dtqueue //1 ega812utobm4xx9oa9w9ayij6 // extern Dtmethod_t* Dtdeque //1 cyfr996ur43045jv1tjbelzmj // extern Dtmethod_t* Dtorder //1 wlofoiftbjgrrabzb2brkycg // extern Dtmethod_t* Dttree //1 12bds94t7voj7ulwpcvgf6agr // extern Dtmethod_t* Dthash //1 9lqknzty480cy7zsubmabkk8h // extern Dtmethod_t _Dttree //1 bvn6zkbcp8vjdhkccqo1xrkrb // extern Dtmethod_t _Dthash //1 9lidhtd6nsmmv3e7vjv9e10gw // extern Dtmethod_t _Dtlist //1 34ujfamjxo7xn89u90oh2k6f8 // extern Dtmethod_t _Dtqueue //1 3jy4aceckzkdv950h89p4wjc8 // extern Dtmethod_t _Dtstack //1 8dfqgf3u1v830qzcjqh9o8ha7 // extern Agmemdisc_t AgMemDisc //1 18k2oh2t6llfsdc5x0wlcnby8 // extern Agiddisc_t AgIdDisc //1 a4r7hi80gdxtsv4hdoqpyiivn // extern Agiodisc_t AgIoDisc //1 bnzt5syjb7mgeru19114vd6xx // extern Agdisc_t AgDefaultDisc //1 35y2gbegsdjilegaribes00mg // extern Agdesc_t Agdirected, Agstrictdirected, Agundirected, Agstrictundirected //1 c2rygslq6bcuka3awmvy2b3ow // typedef Agsubnode_t Agnoderef_t //1 xam6yv0dcsx57dtg44igpbzn // typedef Dtlink_t Agedgeref_t //1 nye6dsi1twkbddwo9iffca1j // extern char *Version //1 65mu6k7h7lb7bx14jpiw7iyxr // extern char **Files //1 2rpjdzsdyrvomf00zcs3u3dyn // extern const char **Lib //1 6d2f111lntd2rsdt4gswh5909 // extern char *CmdName //1 a0ltq04fpeg83soa05a2fkwb2 // extern char *specificFlags //1 1uv30qeqq2jh6uznlr4dziv0y // extern char *specificItems //1 7i4hkvngxe3x7lmg5h6b3t9g3 // extern char *Gvfilepath //1 9jp96pa73kseya3w6sulxzok6 // extern char *Gvimagepath //1 40ylumfu7mrvawwf4v2asvtwk // extern unsigned char Verbose //1 93st8awjy1z0h07n28qycbaka // extern unsigned char Reduce //1 f2vs67ts992erf8onwfglurzp // extern int MemTest //1 c6f8whijgjwwagjigmxlwz3gb // extern char *HTTPServerEnVar //1 cp4hzj7p87m7arw776d3bt7aj // extern char *Output_file_name //1 a3rqagofsgraie6mx0krzkgsy // extern int graphviz_errors //1 5up05203r4kxvjn1m4njcgq5x // extern int Nop //1 umig46cco431x14b3kosde2t // extern double PSinputscale //1 52bj6v8fqz39khasobljfukk9 // extern int Syntax_errors //1 9ekf2ina8fsjj6y6i0an6somj // extern int Show_cnt //1 38di5qi3nkxkq65onyvconk3r // extern char** Show_boxes //1 6ri6iu712m8mpc7t2670etpcw // extern int CL_type //1 bomxiw3gy0cgd1ydqtek7fpxr // extern unsigned char Concentrate //1 cqy3gqgcq8empdrbnrhn84058 // extern double Epsilon //1 64slegfoouqeg0rmbyjrm8wgr // extern int MaxIter //1 88wdinpnmfs4mab4aw62yb0bg // extern int Ndim //1 8bbad3ogcelqnnvo5br5s05gq // extern int State //1 17rnd8q45zclfn68qqst2vxxn // extern int EdgeLabelsDone //1 ymx1z4s8cznjifl2d9f9m8jr // extern double Initial_dist //1 a33bgl0c3uqb3trx419qulj1x // extern double Damping //1 d9lvrpjg1r0ojv40pod1xwk8n // extern int Y_invert //1 71efkfs77q5tq9ex6y0f4kanh // extern int GvExitOnUsage //1 4xy2dkdkv0acs2ue9eca8hh2e // extern Agsym_t *G_activepencolor, *G_activefillcolor, *G_selectedpencolor, *G_selectedfillcolor, *G_visitedpencolor, *G_visitedfillcolor, *G_deletedpencolor, *G_deletedfillcolor, *G_ordering, *G_peripheries, *G_penwidth, *G_gradientangle, *G_margin //1 9js5gxgzr74eakgtfhnbws3t9 // extern Agsym_t *N_height, *N_width, *N_shape, *N_color, *N_fillcolor, *N_activepencolor, *N_activefillcolor, *N_selectedpencolor, *N_selectedfillcolor, *N_visitedpencolor, *N_visitedfillcolor, *N_deletedpencolor, *N_deletedfillcolor, *N_fontsize, *N_fontname, *N_fontcolor, *N_margin, *N_label, *N_xlabel, *N_nojustify, *N_style, *N_showboxes, *N_sides, *N_peripheries, *N_ordering, *N_orientation, *N_skew, *N_distortion, *N_fixed, *N_imagescale, *N_layer, *N_group, *N_comment, *N_vertices, *N_z, *N_penwidth, *N_gradientangle //1 anqllp9sj7wo45w6bm11j8trn // extern Agsym_t *E_weight, *E_minlen, *E_color, *E_fillcolor, *E_activepencolor, *E_activefillcolor, *E_selectedpencolor, *E_selectedfillcolor, *E_visitedpencolor, *E_visitedfillcolor, *E_deletedpencolor, *E_deletedfillcolor, *E_fontsize, *E_fontname, *E_fontcolor, *E_label, *E_xlabel, *E_dir, *E_style, *E_decorate, *E_showboxes, *E_arrowsz, *E_constr, *E_layer, *E_comment, *E_label_float, *E_samehead, *E_sametail, *E_arrowhead, *E_arrowtail, *E_headlabel, *E_taillabel, *E_labelfontsize, *E_labelfontname, *E_labelfontcolor, *E_labeldistance, *E_labelangle, *E_tailclip, *E_headclip, *E_penwidth //1 bh0z9puipqw7gymjd5h5b8s6i // extern struct fdpParms_s* fdp_parms //3 ciez0pfggxdljedzsbklq49f0 // static inline point pointof(int x, int y) public static Object pointof(Object... arg) { UNSUPPORTED("8e4tj258yvfq5uhsdpk37n5eq"); // static inline point pointof(int x, int y) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r; UNSUPPORTED("12jimkrzqxavaie0cpapbx18c"); // r.x = x; UNSUPPORTED("7ivmviysahgsc5nn9gtp7q2if"); // r.y = y; UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 c1s4k85p1cdfn176o3uryeros // static inline pointf pointfof(double x, double y) public static ST_pointf pointfof(double x, double y) { // WARNING!! STRUCT return pointfof_w_(x, y).copy(); } private static ST_pointf pointfof_w_(double x, double y) { ENTERING("c1s4k85p1cdfn176o3uryeros","pointfof"); try { final ST_pointf r = new ST_pointf(); r.setDouble("x", x); r.setDouble("y", y); return r; } finally { LEAVING("c1s4k85p1cdfn176o3uryeros","pointfof"); } } //3 7cufnfitrh935ew093mw0i4b7 // static inline box boxof(int llx, int lly, int urx, int ury) public static Object boxof(Object... arg) { UNSUPPORTED("3lzesfdd337h31jrlib1czocm"); // static inline box boxof(int llx, int lly, int urx, int ury) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b; UNSUPPORTED("cylhjlutoc0sc0uy7g98m9fb8"); // b.LL.x = llx, b.LL.y = lly; UNSUPPORTED("242of6revxzx8hpe7yerrchz6"); // b.UR.x = urx, b.UR.y = ury; UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 1n5xl70wxuabyf97mclvilsm6 // static inline point add_point(point p, point q) public static Object add_point(Object... arg) { UNSUPPORTED("6iamka1fx8fk1rohzzse8phte"); // static inline point add_point(point p, point q) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r; UNSUPPORTED("3n2sizjd0civbzm6iq7su1s2p"); // r.x = p.x + q.x; UNSUPPORTED("65ygdo31w09i5i6bd2f7azcd3"); // r.y = p.y + q.y; UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 arrsbik9b5tnfcbzsm8gr2chx // static inline pointf add_pointf(pointf p, pointf q) public static ST_pointf add_pointf(final ST_pointf p, final ST_pointf q) { // WARNING!! STRUCT return add_pointf_w_(p.copy(), q.copy()).copy(); } private static ST_pointf add_pointf_w_(final ST_pointf p, final ST_pointf q) { ENTERING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf"); try { final ST_pointf r = new ST_pointf(); r.setDouble("x", p.x + q.x); r.setDouble("y", p.y + q.y); return r; } finally { LEAVING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf"); } } //3 ai2dprak5y6obdsflguh5qbd7 // static inline point sub_point(point p, point q) public static Object sub_point(Object... arg) { UNSUPPORTED("cd602849h0bce8lu9xegka0ia"); // static inline point sub_point(point p, point q) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r; UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x; UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y; UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 16f6pyogcv3j7n2p0n8giqqgh // static inline pointf sub_pointf(pointf p, pointf q) public static Object sub_pointf(Object... arg) { UNSUPPORTED("dmufj44lddsnj0wjyxsg2fcso"); // static inline pointf sub_pointf(pointf p, pointf q) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r; UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x; UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y; UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 9k50jgrhc4f9824vf8ony74rw // static inline point mid_point(point p, point q) public static Object mid_point(Object... arg) { UNSUPPORTED("evy44tdsmu3erff9dp2x835u2"); // static inline point mid_point(point p, point q) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r; UNSUPPORTED("1a6p6fm57o0wt5ze2btsx06c7"); // r.x = (p.x + q.x) / 2; UNSUPPORTED("1kbj5tgdmfi6kf4jgg6skhr6e"); // r.y = (p.y + q.y) / 2; UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 59c4f7im0ftyowhnzzq2v9o1x // static inline pointf mid_pointf(pointf p, pointf q) public static Object mid_pointf(Object... arg) { UNSUPPORTED("381o63o9kb04d7gzg65v0r3q"); // static inline pointf mid_pointf(pointf p, pointf q) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r; UNSUPPORTED("c5vboetlr3mf43wns7iik6m1w"); // r.x = (p.x + q.x) / 2.; UNSUPPORTED("bcdf562ldr3bjn78hcay5xd63"); // r.y = (p.y + q.y) / 2.; UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 5r18p38gisvcx3zsvbb9saixx // static inline pointf interpolate_pointf(double t, pointf p, pointf q) public static Object interpolate_pointf(Object... arg) { UNSUPPORTED("894yimn33kmtm454llwdaotu8"); // static inline pointf interpolate_pointf(double t, pointf p, pointf q) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("ef2acl8wa2ooqcb5vz3098maz"); // pointf r; UNSUPPORTED("5tpwuyf5iidesy80v8o4nwkmk"); // r.x = p.x + t * (q.x - p.x); UNSUPPORTED("ewnrc5uloj3w5jbmsjcn3wja0"); // r.y = p.y + t * (q.y - p.y); UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 bxzrv2ghq04qk5cbyy68s4mol // static inline point exch_xy(point p) public static Object exch_xy(Object... arg) { UNSUPPORTED("2vxya0v2fzlv5e0vjaa8d414"); // static inline point exch_xy(point p) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r; UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y; UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x; UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 9lt3e03tac6h6sydljrcws8fd // static inline pointf exch_xyf(pointf p) public static Object exch_xyf(Object... arg) { UNSUPPORTED("8qamrobrqi8jsvvfrxkimrsnw"); // static inline pointf exch_xyf(pointf p) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r; UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y; UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x; UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 8l9qhieokthntzdorlu5zn29b // static inline box box_bb(box b0, box b1) public static Object box_bb(Object... arg) { UNSUPPORTED("36et5gmnjrby6o7bq9sgh1hx6"); // static inline box box_bb(box b0, box b1) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b; UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x); UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y); UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x); UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y); UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 clws9h3bbjm0lw3hexf8nl4c4 // static inline boxf boxf_bb(boxf b0, boxf b1) public static Object boxf_bb(Object... arg) { UNSUPPORTED("dyrqu4ww9osr9c86gqgmifcp6"); // static inline boxf boxf_bb(boxf b0, boxf b1) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b; UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x); UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y); UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x); UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y); UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 bit6ycxo1iqd2al92y8gkzlvb // static inline box box_intersect(box b0, box b1) public static Object box_intersect(Object... arg) { UNSUPPORTED("34gv28cldst09bl71itjgviue"); // static inline box box_intersect(box b0, box b1) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b; UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x); UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y); UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x); UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y); UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 8gfybie7k6pgb3o1a6llgpwng // static inline boxf boxf_intersect(boxf b0, boxf b1) public static Object boxf_intersect(Object... arg) { UNSUPPORTED("ape22b8z6jfg17gvo42hok9eb"); // static inline boxf boxf_intersect(boxf b0, boxf b1) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b; UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x); UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y); UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x); UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y); UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 7z8j2quq65govaaejrz7b4cvb // static inline int box_overlap(box b0, box b1) public static Object box_overlap(Object... arg) { UNSUPPORTED("1e9k599x7ygct7r4cfdxlk9u9"); // static inline int box_overlap(box b0, box b1) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1); UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 4z0suuut2acsay5m8mg9dqjdu // static inline int boxf_overlap(boxf b0, boxf b1) public static Object boxf_overlap(Object... arg) { UNSUPPORTED("905nejsewihwhhc3bhnrz9nwo"); // static inline int boxf_overlap(boxf b0, boxf b1) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1); UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 dd34swz5rmdgu3a2np2a4h1dy // static inline int box_contains(box b0, box b1) public static Object box_contains(Object... arg) { UNSUPPORTED("aputfc30fjkvy6jx4otljaczq"); // static inline int box_contains(box b0, box b1) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1); UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 8laj1bspbu2i1cjd9upr7xt32 // static inline int boxf_contains(boxf b0, boxf b1) public static Object boxf_contains(Object... arg) { UNSUPPORTED("7ccnttkiwt834yfyw0evcm18v"); // static inline int boxf_contains(boxf b0, boxf b1) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1); UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 4wf5swkz24xx51ja2dynbycu1 // static inline pointf perp (pointf p) public static Object perp(Object... arg) { UNSUPPORTED("567wpqlg9rv63ynyvxd9sgkww"); // static inline pointf perp (pointf p) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r; UNSUPPORTED("2fyydy6t6yifjsczccsb9szeg"); // r.x = -p.y; UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x; UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 6dtlpzv4mvgzb9o0b252yweuv // static inline pointf scale (double c, pointf p) public static Object scale(Object... arg) { UNSUPPORTED("c1ngytew34bmkdb7vps5h3dh8"); // static inline pointf scale (double c, pointf p) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r; UNSUPPORTED("dznf7nac14snww4usquyd6r3r"); // r.x = c * p.x; UNSUPPORTED("33kk73m8vjcux5tnjl8co2pe6"); // r.y = c * p.y; UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 389gsvrjy9cfa7ie5c9sr5rvi // static char *pf2s(pointf p, char *buf) public static Object pf2s(Object... arg) { UNSUPPORTED("d7e1ecldlwckmebycqwdif5qi"); // static char *pf2s(pointf p, char *buf) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("9nq1kahe848q44s51s8b249jw"); // sprintf(buf, "(%.5g,%.5g)", p.x, p.y); UNSUPPORTED("5jfpogdyby101eyuw2dhtb5cg"); // return buf; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 aaeedfeqjstij7teh2arwur0s // static pointf boxIntersectf(pointf pp, pointf cp, boxf * bp) public static Object boxIntersectf(Object... arg) { UNSUPPORTED("9lbfcrf6tg3qq2hoi74tj6jil"); // static pointf boxIntersectf(pointf pp, pointf cp, boxf * bp) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("e7e629d656z5m5408o06swiy3"); // pointf ipp; UNSUPPORTED("77e5d834qbjgxa5m8msxj0b22"); // double ppx = pp.x; UNSUPPORTED("5zf0pogb3f4f5faatrew5itus"); // double ppy = pp.y; UNSUPPORTED("etdvp5w4bmvc3hfjv6xsbqhgl"); // double cpx = cp.x; UNSUPPORTED("dzvbcgu397soy9gv5p7bqez7e"); // double cpy = cp.y; UNSUPPORTED("dzq83vvwl259k7394rpz3ahw4"); // pointf ll; UNSUPPORTED("1ilrhzyqh05f2u3j3vzg0ys8u"); // pointf ur; UNSUPPORTED("82ter8mdp5dwyq284t271kkq2"); // ll = bp->LL; UNSUPPORTED("cjf1mmtyv7enn9aid7eveqj3m"); // ur = bp->UR; UNSUPPORTED("hrb7x7coec3ls1f3tbzbv1i4"); // if (cp.x < ll.x) { UNSUPPORTED("bz02pree35ok6h7ne2b9078gr"); // ipp.x = ll.x; UNSUPPORTED("79t0kzkjgtsgnwjzk2423w61c"); // ipp.y = pp.y + (int) ((ipp.x - ppx) * (ppy - cpy) / (ppx - cpx)); UNSUPPORTED("5zwh31a86akovenbej0w7yjlq"); // if (ipp.y >= ll.y && ipp.y <= ur.y) UNSUPPORTED("6klahfi7ib1my989uyt3r3fns"); // return ipp; UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("92dqlio3tyb7oqz8rrk4u1i39"); // if (cp.x > ur.x) { UNSUPPORTED("ct5wv2h1epcow92rfyyuvo9x8"); // ipp.x = ur.x; UNSUPPORTED("79t0kzkjgtsgnwjzk2423w61c"); // ipp.y = pp.y + (int) ((ipp.x - ppx) * (ppy - cpy) / (ppx - cpx)); UNSUPPORTED("5zwh31a86akovenbej0w7yjlq"); // if (ipp.y >= ll.y && ipp.y <= ur.y) UNSUPPORTED("6klahfi7ib1my989uyt3r3fns"); // return ipp; UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("d1vpfkzy4othi356ddvouf1du"); // if (cp.y < ll.y) { UNSUPPORTED("645jp0y7ad6zmpqv1ujuwv7d2"); // ipp.y = ll.y; UNSUPPORTED("6xy4qjwbmyv2lmoecg9lz44m1"); // ipp.x = pp.x + (int) ((ipp.y - ppy) * (ppx - cpx) / (ppy - cpy)); UNSUPPORTED("6or7iqvva2wcjp65woe9ywn9j"); // if (ipp.x >= ll.x && ipp.x <= ur.x) UNSUPPORTED("6klahfi7ib1my989uyt3r3fns"); // return ipp; UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("22uv9kfz9ohd3u69nktr9fsko"); // if (cp.y > ur.y) { UNSUPPORTED("7fbze74dhzwnj80vwncttjoza"); // ipp.y = ur.y; UNSUPPORTED("6xy4qjwbmyv2lmoecg9lz44m1"); // ipp.x = pp.x + (int) ((ipp.y - ppy) * (ppx - cpx) / (ppy - cpy)); UNSUPPORTED("6or7iqvva2wcjp65woe9ywn9j"); // if (ipp.x >= ll.x && ipp.x <= ur.x) UNSUPPORTED("6klahfi7ib1my989uyt3r3fns"); // return ipp; UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("2brtdhuqnq3wbu0y4vha1lxe1"); // /* failure */ UNSUPPORTED("6ld19omy1z68vprfzbhrjqr2z"); // { UNSUPPORTED("8lid84pwtuybl3mg15z7f9v8n"); // char ppbuf[100], cpbuf[100], llbuf[100], urbuf[100]; UNSUPPORTED("8utponegpfhxi3ifoaet3w22u"); // agerr(AGERR, UNSUPPORTED("4e7yhbghqnz3l8o03xenxz6qk"); // "segment [%s,%s] does not intersect box ll=%s,ur=%s\n", UNSUPPORTED("a7epvdx0qf9ql74dqkbz43vak"); // pf2s(pp, ppbuf), pf2s(cp, cpbuf), UNSUPPORTED("e9otl0bm92qbvbxwfd4euftxb"); // pf2s(ll, llbuf), pf2s(ur, urbuf)); UNSUPPORTED("2g1czwq8qs1hp7515i11qbn75"); // assert(0); UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("2eteshlf6etzhvieru9a3d7hl"); // return ipp; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 cdgb9eokkhoxckam633l1qm6t // static int inBoxf(pointf p, boxf * bb) public static Object inBoxf(Object... arg) { UNSUPPORTED("18frdpfl5gpq5be170xxu7ypk"); // static int inBoxf(pointf p, boxf * bb) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("62grwq3ychthd06kd0dma6nl4"); // return INSIDE(p, *bb); UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 7i49mbvuj9tvhyjtdrhyomfd2 // static graph_t *getCluster(graph_t * g, char *cluster_name, Dt_t* map) public static Object getCluster(Object... arg) { UNSUPPORTED("b3i6y8ykkxx0imig66aitm32p"); // static graph_t *getCluster(graph_t * g, char *cluster_name, Dt_t* map) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("a9vu6hocyi7htsqyh6phlzeil"); // Agraph_t* sg; UNSUPPORTED("bdri6gk80s45bza4efp7hp3io"); // if (!cluster_name || (*cluster_name == '\0')) UNSUPPORTED("11hwqop4xebvtcskop4uhpp01"); // return NULL; UNSUPPORTED("e7qf9buhacu05os7k2mmh66cv"); // sg = findCluster (map, cluster_name); UNSUPPORTED("2cbce9349ulperyph2yxmob79"); // if (sg == NULL) { UNSUPPORTED("d4c9bmlrq8gy5z6b7aj0hh95m"); // agerr(AGWARN, "cluster named %s not found\n", cluster_name); UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("1jw141gg4omv8r72xcbl5ln0o"); // return sg; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 1shblnlks0zlz7s6h6l9az96k // static int countVertCross(pointf * pts, double xcoord) public static Object countVertCross(Object... arg) { UNSUPPORTED("3fh5r6lqrzpzitfo6fg3mbhr9"); // static int countVertCross(pointf * pts, double xcoord) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i; UNSUPPORTED("84e683m9cp16ljzwmonvu6h5o"); // int sign, old_sign; UNSUPPORTED("3m0xdv3clh5kt5r24q2nq8qy3"); // int num_crossings = 0; UNSUPPORTED("anrpp1ijmhz0zvudygqnuhuxg"); // sign = CMP(pts[0].x, xcoord); UNSUPPORTED("cn59uvgfsp852xd4juwg253ab"); // if (sign == 0) UNSUPPORTED("31x1ju7msb5pxljz8c9cdfxi2"); // num_crossings++; UNSUPPORTED("46jnsuhm7tq2klfsjamf7jrpa"); // for (i = 1; i <= 3; i++) { UNSUPPORTED("863qxcme12wfzx1clw4ehqelq"); // old_sign = sign; UNSUPPORTED("pfykk7uimn1p9y4mh0gs58ft"); // sign = CMP(pts[i].x, xcoord); UNSUPPORTED("34hhymaa1fodp7eoxwo7qev6v"); // if ((sign != old_sign) && (old_sign != 0)) UNSUPPORTED("dsc9eps2jqbca8n4oaud2b223"); // num_crossings++; UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("ahpb1md0lwtdwqxgalm3b4rqa"); // return num_crossings; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 65jkpfhzlwld3rg4ggrojwo0t // static int countHorzCross(pointf * pts, double ycoord) public static Object countHorzCross(Object... arg) { UNSUPPORTED("de9l7dbf21io84d7j6fr2g2bk"); // static int countHorzCross(pointf * pts, double ycoord) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i; UNSUPPORTED("84e683m9cp16ljzwmonvu6h5o"); // int sign, old_sign; UNSUPPORTED("3m0xdv3clh5kt5r24q2nq8qy3"); // int num_crossings = 0; UNSUPPORTED("1jpgvdmmizse7xc7bwhb6fowk"); // sign = CMP(pts[0].y, ycoord); UNSUPPORTED("cn59uvgfsp852xd4juwg253ab"); // if (sign == 0) UNSUPPORTED("31x1ju7msb5pxljz8c9cdfxi2"); // num_crossings++; UNSUPPORTED("46jnsuhm7tq2klfsjamf7jrpa"); // for (i = 1; i <= 3; i++) { UNSUPPORTED("863qxcme12wfzx1clw4ehqelq"); // old_sign = sign; UNSUPPORTED("e1b5xplhock9z22bd4pd2dqlq"); // sign = CMP(pts[i].y, ycoord); UNSUPPORTED("34hhymaa1fodp7eoxwo7qev6v"); // if ((sign != old_sign) && (old_sign != 0)) UNSUPPORTED("dsc9eps2jqbca8n4oaud2b223"); // num_crossings++; UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("ahpb1md0lwtdwqxgalm3b4rqa"); // return num_crossings; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 aih397ad5qkovyx9x0wr21h54 // static double findVertical(pointf * pts, double tmin, double tmax, double xcoord, double ymin, double ymax) public static Object findVertical(Object... arg) { UNSUPPORTED("lt6cippjix5bbvyhkcpl8g7g"); // static double UNSUPPORTED("85kaoubr5lh52fmxz21tc0c1j"); // findVertical(pointf * pts, double tmin, double tmax, UNSUPPORTED("6qy8dlo2xl5uszko7s7dlvxw7"); // double xcoord, double ymin, double ymax) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("15equnrdjvp7z6hnykwsq855q"); // pointf Left[4]; UNSUPPORTED("czk4lot3uqdf06o5ws37gsxwv"); // pointf Right[4]; UNSUPPORTED("6wfj8onzmd4ihhh62dqfmqpbx"); // double t; UNSUPPORTED("78xh7rd4kkol7tca0ou5rsl2l"); // int no_cross = countVertCross(pts, xcoord); UNSUPPORTED("d7u308dr2xy07ijwz1hdhhmfx"); // if (no_cross == 0) UNSUPPORTED("6etr2h2322v9ragqutm759yas"); // return -1.0; UNSUPPORTED("ad9m8nxf0mcmhf2djox688ldn"); // /* if 1 crossing and on the line x == xcoord (within 1 point) */ UNSUPPORTED("4acg9xblgk4ucgodvaih6xrxj"); // if ((no_cross == 1) && (ROUND(pts[3].x) == ROUND(xcoord))) { UNSUPPORTED("bf7x4u2r8ux51e40gclwa1a1a"); // if ((ymin <= pts[3].y) && (pts[3].y <= ymax)) { UNSUPPORTED("bygqzclvo91ia8pdfxgwt277e"); // return tmax; UNSUPPORTED("6to1esmb8qfrhzgtr7jdqleja"); // } else UNSUPPORTED("ap55zco1042e8hct3w86akeke"); // return -1.0; UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("9d4ocidcx0valemm3vzi00avm"); // /* split the Bezier into halves, trying the first half first. */ UNSUPPORTED("605jhx0qvq7rusredvjldyy4c"); // Bezier(pts, 3, 0.5, Left, Right); UNSUPPORTED("6cwj26bp1l7s2las5a7m77tku"); // t = findVertical(Left, tmin, (tmin + tmax) / 2.0, xcoord, ymin, ymax); UNSUPPORTED("1j0wovs9fkx43ukygc0u69s5g"); // if (t >= 0.0) UNSUPPORTED("d78ai9c2o2d3q4femq5es1anw"); // return t; UNSUPPORTED("9d6bwwzbxp9fm5m208jh9i8vu"); // return findVertical(Right, (tmin + tmax) / 2.0, tmax, xcoord, ymin, UNSUPPORTED("cd6vwnucsms9wzpeqb5nxh0ky"); // ymax); UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 ekvbbd4zvuxrho7sitbt8ql7s // static double findHorizontal(pointf * pts, double tmin, double tmax, double ycoord, double xmin, double xmax) public static Object findHorizontal(Object... arg) { UNSUPPORTED("lt6cippjix5bbvyhkcpl8g7g"); // static double UNSUPPORTED("78h62jx38l5t5fm5l5pcmhbsf"); // findHorizontal(pointf * pts, double tmin, double tmax, UNSUPPORTED("710x71u5311vcqfimkbvzi83a"); // double ycoord, double xmin, double xmax) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("15equnrdjvp7z6hnykwsq855q"); // pointf Left[4]; UNSUPPORTED("czk4lot3uqdf06o5ws37gsxwv"); // pointf Right[4]; UNSUPPORTED("6wfj8onzmd4ihhh62dqfmqpbx"); // double t; UNSUPPORTED("4954qgan4jixgvt69g1ajjdpo"); // int no_cross = countHorzCross(pts, ycoord); UNSUPPORTED("d7u308dr2xy07ijwz1hdhhmfx"); // if (no_cross == 0) UNSUPPORTED("6etr2h2322v9ragqutm759yas"); // return -1.0; UNSUPPORTED("epscxk2oek6v8c25l06qg49ym"); // /* if 1 crossing and on the line y == ycoord (within 1 point) */ UNSUPPORTED("bwwz4x8fjy78hz5xaadjtuwte"); // if ((no_cross == 1) && (ROUND(pts[3].y) == ROUND(ycoord))) { UNSUPPORTED("8mh80lea0b69k078vehmxhy3"); // if ((xmin <= pts[3].x) && (pts[3].x <= xmax)) { UNSUPPORTED("bygqzclvo91ia8pdfxgwt277e"); // return tmax; UNSUPPORTED("6to1esmb8qfrhzgtr7jdqleja"); // } else UNSUPPORTED("ap55zco1042e8hct3w86akeke"); // return -1.0; UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("9d4ocidcx0valemm3vzi00avm"); // /* split the Bezier into halves, trying the first half first. */ UNSUPPORTED("605jhx0qvq7rusredvjldyy4c"); // Bezier(pts, 3, 0.5, Left, Right); UNSUPPORTED("83enazrwlypz7ni9b8bftyxs3"); // t = findHorizontal(Left, tmin, (tmin + tmax) / 2.0, ycoord, xmin, UNSUPPORTED("669ctf1reahp9td1amg1zq5u"); // xmax); UNSUPPORTED("1j0wovs9fkx43ukygc0u69s5g"); // if (t >= 0.0) UNSUPPORTED("d78ai9c2o2d3q4femq5es1anw"); // return t; UNSUPPORTED("7yh5k9v3lj4qwcasd986zd88c"); // return findHorizontal(Right, (tmin + tmax) / 2.0, tmax, ycoord, xmin, UNSUPPORTED("qt8mgej4qnelxqtwoy8dt0jt"); // xmax); UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 f35390txedsmk9p0bb7lc0glh // static int splineIntersectf(pointf * pts, boxf * bb) public static Object splineIntersectf(Object... arg) { UNSUPPORTED("5skcahu2z7i5of3rceeyk3dja"); // static int splineIntersectf(pointf * pts, boxf * bb) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("4x99qvp4a3bmbyxtp16ajfnsk"); // double tmin = 2.0; UNSUPPORTED("6wfj8onzmd4ihhh62dqfmqpbx"); // double t; UNSUPPORTED("9g866elzsedx9foz9yjhoiou1"); // pointf origpts[4]; UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i; UNSUPPORTED("a2n8aqfq0cqpx8elstmfn9oq6"); // for (i = 0; i < 4; i++) { UNSUPPORTED("4zou1qx7inlvcv0miqk04wcab"); // origpts[i] = pts[i]; UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("6vm6zifwonvzwuelxtslbue2"); // t = findVertical(pts, 0.0, 1.0, bb->LL.x, bb->LL.y, bb->UR.y); UNSUPPORTED("9zvtsolyyf2ytpv8pj4a8n5iu"); // if ((t >= 0) && (t < tmin)) { UNSUPPORTED("8w1khrdoc5zw1yk6j1a8drqse"); // Bezier(origpts, 3, t, pts, NULL); UNSUPPORTED("5ml6bcuw1xgfn7f3dyox7iwrv"); // tmin = t; UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("981p5dxcykkvx91604334lab3"); // t = findVertical(pts, 0.0, MIN(1.0, tmin), bb->UR.x, bb->LL.y, UNSUPPORTED("1of63c5vskctycz57r6s1aop5"); // bb->UR.y); UNSUPPORTED("9zvtsolyyf2ytpv8pj4a8n5iu"); // if ((t >= 0) && (t < tmin)) { UNSUPPORTED("8w1khrdoc5zw1yk6j1a8drqse"); // Bezier(origpts, 3, t, pts, NULL); UNSUPPORTED("5ml6bcuw1xgfn7f3dyox7iwrv"); // tmin = t; UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("7a2rh5vrty9usl73kwlat7axz"); // t = findHorizontal(pts, 0.0, MIN(1.0, tmin), bb->LL.y, bb->LL.x, UNSUPPORTED("de5psijf8qtaea4iaibltvfli"); // bb->UR.x); UNSUPPORTED("9zvtsolyyf2ytpv8pj4a8n5iu"); // if ((t >= 0) && (t < tmin)) { UNSUPPORTED("8w1khrdoc5zw1yk6j1a8drqse"); // Bezier(origpts, 3, t, pts, NULL); UNSUPPORTED("5ml6bcuw1xgfn7f3dyox7iwrv"); // tmin = t; UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("8j6y4x6maqneer7is54dvjrg8"); // t = findHorizontal(pts, 0.0, MIN(1.0, tmin), bb->UR.y, bb->LL.x, UNSUPPORTED("de5psijf8qtaea4iaibltvfli"); // bb->UR.x); UNSUPPORTED("9zvtsolyyf2ytpv8pj4a8n5iu"); // if ((t >= 0) && (t < tmin)) { UNSUPPORTED("8w1khrdoc5zw1yk6j1a8drqse"); // Bezier(origpts, 3, t, pts, NULL); UNSUPPORTED("5ml6bcuw1xgfn7f3dyox7iwrv"); // tmin = t; UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("5yrkc1uiqwozz2tsxyo3vpj6n"); // if (tmin < 2.0) { UNSUPPORTED("eleqpc2p2r3hvma6tipoy7tr"); // return 1; UNSUPPORTED("2lkbqgh2h6urnppaik3zo7ywi"); // } else UNSUPPORTED("c9ckhc8veujmwcw0ar3u3zld4"); // return 0; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 cqg91aue3soclnawequqcxspl // static void makeCompoundEdge(graph_t * g, edge_t * e, Dt_t* clustMap) public static Object makeCompoundEdge(Object... arg) { UNSUPPORTED("94ok4vzwibg79sh9bgw127ynj"); // static void makeCompoundEdge(graph_t * g, edge_t * e, Dt_t* clustMap) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("d8yeygt41ba5jbyj4rz2bs7jh"); // graph_t *lh; /* cluster containing head */ UNSUPPORTED("ckcdimdpkin3lhakg1rjgopmi"); // graph_t *lt; /* cluster containing tail */ UNSUPPORTED("em6swtpn9fdaqlt4w0ye5p7db"); // bezier *bez; /* original Bezier for e */ UNSUPPORTED("2nh8wbaihnp137k4pc9xuzwhg"); // bezier *nbez; /* new Bezier for e */ UNSUPPORTED("1tw709ct510b9s636x7nkqfkr"); // int starti = 0, endi = 0; /* index of first and last control point */ UNSUPPORTED("8i0kwb8r6a2sj6nuvcy3bg9rx"); // node_t *head; UNSUPPORTED("abn0n8lzvb24ju9mrqm4oqu8"); // node_t *tail; UNSUPPORTED("v5k4w91mrx94yjcdoytcu9oh"); // boxf *bb; UNSUPPORTED("dzpsknrwv8qkqq20hjnjpjn68"); // int i, j; UNSUPPORTED("cav0e7ncloqss0hsvc4fyfi7s"); // int size; UNSUPPORTED("d8sp6cfkpfyndzmid92shiq50"); // pointf pts[4]; UNSUPPORTED("2bghyit203pd6xw2ihhenzyn8"); // pointf p; UNSUPPORTED("a1awknurkwnitpucodqwmcybo"); // int fixed; UNSUPPORTED("eg8l6bf528m9rxpz19s67zunk"); // /* find head and tail target clusters, if defined */ UNSUPPORTED("cv6tt9aup4gcbgqhx1nq22k1c"); // lh = getCluster(g, agget(e, "lhead"), clustMap); UNSUPPORTED("1c1flydze3375acsjsk9q3kp"); // lt = getCluster(g, agget(e, "ltail"), clustMap); UNSUPPORTED("c0uthnj5r46is8vqpjh6vftc8"); // if (!lt && !lh) UNSUPPORTED("a7fgam0j0jm7bar0mblsv3no4"); // return; UNSUPPORTED("7r9z58ji5z8h9c59lp0npnrgu"); // if (!ED_spl(e)) return; UNSUPPORTED("d5zyxsdhnmpgj9r2eeuoe24qd"); // /* at present, we only handle single spline case */ UNSUPPORTED("9y41ojbiongk0r6fdtq1my3t1"); // if (ED_spl(e)->size > 1) { UNSUPPORTED("2bykd7j98lcwoewshvpja61l3"); // agerr(AGWARN, "%s -> %s: spline size > 1 not supported\n", UNSUPPORTED("1wah0q9mwnexbe0myh4pe78ks"); // agnameof(agtail(e)), agnameof(aghead(e))); UNSUPPORTED("a7fgam0j0jm7bar0mblsv3no4"); // return; UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("9zp3bsvuco9me48ea4fiy6acl"); // bez = ED_spl(e)->list; UNSUPPORTED("1mwkc047hik3rfvg9nirzx1eu"); // size = bez->size; UNSUPPORTED("9vcgvjkna4elv9mw682bcl1ry"); // head = aghead(e); UNSUPPORTED("6pl9v5iuk7ek5nv87env6rn8y"); // tail = agtail(e); UNSUPPORTED("ap2j55l6otqo1gbl6ltds9nwh"); // /* allocate new Bezier */ UNSUPPORTED("evus0s8ajoz1nr025560y72nt"); // nbez = (bezier*)gmalloc(sizeof(bezier)); UNSUPPORTED("ep4g00m6u2qqzjjpl5wv8pf68"); // nbez->eflag = bez->eflag; UNSUPPORTED("3f2ouh5001dudtknnvyd0d3k"); // nbez->sflag = bez->sflag; UNSUPPORTED("9puveeg1x9guxlasq00a4jkoy"); // /* if Bezier has four points, almost collinear, UNSUPPORTED("3j2z7u8v0esgm7xffel168hq7"); // * make line - unimplemented optimization? UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */ UNSUPPORTED("gquyyp49r5koft7tvjy0s8rg"); // /* If head cluster defined, find first Bezier UNSUPPORTED("36p20hcsa21623tw4wu1oz2p6"); // * crossing head cluster, and truncate spline to UNSUPPORTED("9s9druwau7a95yt795beirpsq"); // * box edge. UNSUPPORTED("cn1atesybawh2axikezvwq87k"); // * Otherwise, leave end alone. UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */ UNSUPPORTED("7ub8yceaqsfpwhdiiln16imu8"); // fixed = 0; UNSUPPORTED("9pt4rploytevhgdsh2ccwqwa5"); // if (lh) { UNSUPPORTED("1epg8to10rb7b0uyumqk5by3d"); // bb = &(GD_bb(lh)); UNSUPPORTED("5kfib01to02c8vzno1s2ekcr6"); // if (!inBoxf(ND_coord(head), bb)) { UNSUPPORTED("dw7kdr12sq66xx2svd4s92czw"); // agerr(AGWARN, "%s -> %s: head not inside head cluster %s\n", UNSUPPORTED("4685lstw48yeb92f1qu3uf6ju"); // agnameof(agtail(e)), agnameof(aghead(e)), agget(e, "lhead")); UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); // } else { UNSUPPORTED("3uodo3h9hth2y90nphjmbr0oz"); // /* If first control point is in bb, degenerate case. Spline UNSUPPORTED("48lbfpll26nek7srz6txj1ifd"); // * reduces to four points between the arrow head and the point UNSUPPORTED("bnhwhc0oclranqqrc084eqy25"); // * where the segment between the first control point and arrow head UNSUPPORTED("cqgsnvduolzsvf228s6bzu09z"); // * crosses box. UNSUPPORTED("20m1lc1moer8x00tx9ceto0iw"); // */ UNSUPPORTED("9pqsbiv3p2qq7o79wqbbz8l5n"); // if (inBoxf(bez->list[0], bb)) { UNSUPPORTED("9w1xj4pf7ycfdklkv9mztvayi"); // if (inBoxf(ND_coord(tail), bb)) { UNSUPPORTED("3f0u3cjz549lwgnkj0rlfv6rv"); // agerr(AGWARN, UNSUPPORTED("27beaae4u5f8m2rui7t930icj"); // "%s -> %s: tail is inside head cluster %s\n", UNSUPPORTED("5su0sbzvdwjhkfmbg8xivrf3y"); // agnameof(agtail(e)), agnameof(aghead(e)), agget(e, "lhead")); UNSUPPORTED("a47jqpic91ky93e1ohxv590l5"); // } else { UNSUPPORTED("ewwp403copbj6mdyqowm6q2s4"); // assert(bez->sflag); /* must be arrowhead on tail */ UNSUPPORTED("lp06fc3tmr8xux3w7kfnjg4r"); // p = boxIntersectf(bez->list[0], bez->sp, bb); UNSUPPORTED("ejtuxx5nuew10e08cnrbh9avq"); // bez->list[3] = p; UNSUPPORTED("7duperi3l69fplb736n7smpqf"); // bez->list[1] = mid_pointf(p, bez->sp); UNSUPPORTED("a4eh5xj2wrncqnmttmavzegdw"); // bez->list[0] = mid_pointf(bez->list[1], bez->sp); UNSUPPORTED("5dxkrve755ukj7tzac4ft5kee"); // bez->list[2] = mid_pointf(bez->list[1], p); UNSUPPORTED("59ne8fp4dumv8e2dt8nzlbwm9"); // if (bez->eflag) UNSUPPORTED("e0iax8us2lskwlp49snfuewo5"); // endi = arrowEndClip(e, bez->list, UNSUPPORTED("cblie3jhaa9y0orqcusd4rz3n"); // starti, 0, nbez, bez->eflag); UNSUPPORTED("dtvlepuobgzgt31wlwvahcuz6"); // endi += 3; UNSUPPORTED("b1vrskwl75muujmh6lvltym9p"); // fixed = 1; UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // } UNSUPPORTED("175pyfe8j8mbhdwvrbx3gmew9"); // } else { UNSUPPORTED("2sf4rxnj84i693qu8p8eeb0th"); // for (endi = 0; endi < size - 1; endi += 3) { UNSUPPORTED("3gsvjp9m9s9xkrldmovrxl86l"); // if (splineIntersectf(&(bez->list[endi]), bb)) UNSUPPORTED("a5064jph9xpw67dcun2my4mcm"); // break; UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // } UNSUPPORTED("6v67nn2fkgve6sliwhhcjhlzy"); // if (endi == size - 1) { /* no intersection */ UNSUPPORTED("ne38tb76v74pens6v8pbfrbg"); // assert(bez->eflag); UNSUPPORTED("6zfsm93mmi2u1kkkh72v0p3ko"); // nbez->ep = boxIntersectf(bez->ep, bez->list[endi], bb); UNSUPPORTED("a47jqpic91ky93e1ohxv590l5"); // } else { UNSUPPORTED("59ne8fp4dumv8e2dt8nzlbwm9"); // if (bez->eflag) UNSUPPORTED("2931qkcakw4pmrkqfxkwz6c9w"); // endi = UNSUPPORTED("5m1xf54kia4xa3oh9pi0laqg2"); // arrowEndClip(e, bez->list, UNSUPPORTED("dif2h2k72i4vle08l8zt6g99d"); // starti, endi, nbez, bez->eflag); UNSUPPORTED("dtvlepuobgzgt31wlwvahcuz6"); // endi += 3; UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // } UNSUPPORTED("37cextn872jccni47tbuylnde"); // fixed = 1; UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // } UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // } UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("b4l5v1tzcfyxswk474eyxoh7g"); // if (fixed == 0) { /* if no lh, or something went wrong, use original head */ UNSUPPORTED("5iaa7yro1fezven3pxpfgmxu4"); // endi = size - 1; UNSUPPORTED("a4jsfnfkjyk5zvhtmxz837cwk"); // if (bez->eflag) UNSUPPORTED("ardm696r3cpsbtf6losy2b016"); // nbez->ep = bez->ep; UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("ea4t41cqs5cu6h8oyl4vr26m2"); // /* If tail cluster defined, find last Bezier UNSUPPORTED("7p2mckkgkchxr6vhh6gezq8wz"); // * crossing tail cluster, and truncate spline to UNSUPPORTED("9s9druwau7a95yt795beirpsq"); // * box edge. UNSUPPORTED("cn1atesybawh2axikezvwq87k"); // * Otherwise, leave end alone. UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */ UNSUPPORTED("7ub8yceaqsfpwhdiiln16imu8"); // fixed = 0; UNSUPPORTED("5qu8oy18iv3lo7czvfxeoa9uf"); // if (lt) { UNSUPPORTED("pk4bun7t8spswxbvfqizndma"); // bb = &(GD_bb(lt)); UNSUPPORTED("5fdmhqx0gpmawrdmhes377bcj"); // if (!inBoxf(ND_coord(tail), bb)) { UNSUPPORTED("1m0jbxdni08pgm584b96t3rjx"); // agerr(AGWARN, "%s -> %s: tail not inside tail cluster %s\n", UNSUPPORTED("3s8r91i8l8gnx912jssz9qyeo"); // agnameof(agtail(e)), agnameof(aghead(e)), agget(e, "ltail")); UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); // } else { UNSUPPORTED("1qjsjzvwnzg5em6iaq3reaswh"); // /* If last control point is in bb, degenerate case. Spline UNSUPPORTED("f2rlo65dpa2r245fl7q3a8uhm"); // * reduces to four points between arrow head, and the point UNSUPPORTED("c22xvluit87sy443q8y00uc4g"); // * where the segment between the last control point and the UNSUPPORTED("drage3192rqa7ifzj1p0rzr7b"); // * arrow head crosses box. UNSUPPORTED("20m1lc1moer8x00tx9ceto0iw"); // */ UNSUPPORTED("5xu4e03fqpef4n5pmrb5kau0d"); // if (inBoxf(bez->list[endi], bb)) { UNSUPPORTED("25cb9bqsfesb0faqthoggdumf"); // if (inBoxf(ND_coord(head), bb)) { UNSUPPORTED("3f0u3cjz549lwgnkj0rlfv6rv"); // agerr(AGWARN, UNSUPPORTED("5xfu8lqrs0caaz29aue2f4s21"); // "%s -> %s: head is inside tail cluster %s\n", UNSUPPORTED("f3g912itxolsegc77eg84cl5l"); // agnameof(agtail(e)), agnameof(aghead(e)), agget(e, "ltail")); UNSUPPORTED("a47jqpic91ky93e1ohxv590l5"); // } else { UNSUPPORTED("8f4spvkivd7okr9g59i6nwodq"); // assert(bez->eflag); /* must be arrowhead on head */ UNSUPPORTED("7f7fhm60xzneykhpsinmusktg"); // p = boxIntersectf(bez->list[endi], nbez->ep, bb); UNSUPPORTED("5sxlw9wg1evuruihg2pf20m2q"); // starti = endi - 3; UNSUPPORTED("469jcsvjasontlve9fx1oiprf"); // bez->list[starti] = p; UNSUPPORTED("cnpwuv23ryh1zxbij0n57992e"); // bez->list[starti + 2] = mid_pointf(p, nbez->ep); UNSUPPORTED("o7wu7segbiephyk1mn6ruzii"); // bez->list[starti + 3] = mid_pointf(bez->list[starti + 2], nbez->ep); UNSUPPORTED("1hq51ue6km9jd5khvilyiu8ba"); // bez->list[starti + 1] = mid_pointf(bez->list[starti + 2], p); UNSUPPORTED("f018p8s1pklqzeu862o8grqz3"); // if (bez->sflag) UNSUPPORTED("c9hvjpjpxposlztt4ykhchse4"); // starti = arrowStartClip(e, bez->list, starti, UNSUPPORTED("dbcocs457i5fpymvciq1id8sl"); // endi - 3, nbez, bez->sflag); UNSUPPORTED("b1vrskwl75muujmh6lvltym9p"); // fixed = 1; UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // } UNSUPPORTED("175pyfe8j8mbhdwvrbx3gmew9"); // } else { UNSUPPORTED("d2jlvy1nqfh80mgss1c39f01j"); // for (starti = endi; starti > 0; starti -= 3) { UNSUPPORTED("28srqjfv5l9fgucte4xcck1wf"); // for (i = 0; i < 4; i++) UNSUPPORTED("8c8hwyg5j3w5quof1ir68ns70"); // pts[i] = bez->list[starti - i]; UNSUPPORTED("4r5afy1ydhha880ua170puwym"); // if (splineIntersectf(pts, bb)) { UNSUPPORTED("ej309gi9fv5xlnkscibruakjp"); // for (i = 0; i < 4; i++) UNSUPPORTED("7i03k1aqcvrb8znb7097fyn48"); // bez->list[starti - i] = pts[i]; UNSUPPORTED("a5064jph9xpw67dcun2my4mcm"); // break; UNSUPPORTED("dkxvw03k2gg9anv4dbze06axd"); // } UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // } UNSUPPORTED("btve1tg4yf6dsbobp66rbktt7"); // if (starti == 0) { UNSUPPORTED("8n6t6jnfgooxt9ia0n2d9xj5a"); // assert(bez->sflag); UNSUPPORTED("9iea16dzn148ggj1yhec6nrv6"); // nbez->sp = UNSUPPORTED("3c8n4kr8984t1a8f2tvj7wgrr"); // boxIntersectf(bez->sp, bez->list[starti], bb); UNSUPPORTED("a47jqpic91ky93e1ohxv590l5"); // } else { UNSUPPORTED("5yn57nenv2uh775lo64evo8ma"); // starti -= 3; UNSUPPORTED("f018p8s1pklqzeu862o8grqz3"); // if (bez->sflag) UNSUPPORTED("c9hvjpjpxposlztt4ykhchse4"); // starti = arrowStartClip(e, bez->list, starti, UNSUPPORTED("dbcocs457i5fpymvciq1id8sl"); // endi - 3, nbez, bez->sflag); UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // } UNSUPPORTED("37cextn872jccni47tbuylnde"); // fixed = 1; UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // } UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // } UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("7016d9urlsksnhs3cnhecjcda"); // if (fixed == 0) { /* if no lt, or something went wrong, use original tail */ UNSUPPORTED("eb2mhex2xw1imv1kk03mvjjou"); // /* Note: starti == 0 */ UNSUPPORTED("bid01qt9cg10ravykoxdnzxyk"); // if (bez->sflag) UNSUPPORTED("5r4ncqv0i1d4e42av5wd1enpg"); // nbez->sp = bez->sp; UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("6npoy905gpw81hrxzbjbr2cfx"); // /* complete Bezier, free garbage and attach new Bezier to edge UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */ UNSUPPORTED("5xonbkojra95eckls0aqmri36"); // nbez->size = endi - starti + 1; UNSUPPORTED("ahcr8abvd2jxjhobcfhctvs1b"); // nbez->list = (pointf*)gmalloc((nbez->size)*sizeof(pointf)); UNSUPPORTED("c9hwlt12y9khkl85dhudsnoji"); // for (i = 0, j = starti; i < nbez->size; i++, j++) UNSUPPORTED("bafoyknloit5d46b4iu8wll9p"); // nbez->list[i] = bez->list[j]; UNSUPPORTED("60fikjho2iwcxgrd8xetr09m6"); // free(bez->list); UNSUPPORTED("3qr0q84nc1rpnmowlbyiowg2z"); // free(bez); UNSUPPORTED("70byyll04ac6uqbdyb54i1gr"); // ED_spl(e)->list = nbez; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 8dlmdg7jixgrpxke9pgbbnous // void dot_compoundEdges(graph_t * g) public static Object dot_compoundEdges(Object... arg) { UNSUPPORTED("7ugy3v610tnicjpszcs8fvlvb"); // void dot_compoundEdges(graph_t * g) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("5gypxs09iuryx5a2eho9lgdcp"); // edge_t *e; UNSUPPORTED("cjx5v6hayed3q8eeub1cggqca"); // node_t *n; UNSUPPORTED("aice9tv6l0gls54iyk8147m5u"); // Dt_t* clustMap = mkClustMap (g); UNSUPPORTED("44thr6ep72jsj3fksjiwdx3yr"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) { UNSUPPORTED("e20lm4qtccvgsfq5fzjv6sjyl"); // for (e = agfstout(g, n); e; e = agnxtout(g, e)) { UNSUPPORTED("1urljgadk0bknazngl2w39evt"); // makeCompoundEdge(g, e, clustMap); UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // } UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("11epc7udwyi67f5gszznmfwn8"); // dtclose(clustMap); UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } }