All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gen.lib.common.ellipse__c Maven / Gradle / Ivy

Go to download

PlantUML is a component that allows to quickly write : * sequence diagram, * use case diagram, * class diagram, * activity diagram, * component diagram, * state diagram * object diagram

The newest version!
/* ========================================================================
 * 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-2017, 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.common;
import static smetana.core.JUtilsDebug.ENTERING;
import static smetana.core.JUtilsDebug.LEAVING;
import static smetana.core.Macro.UNSUPPORTED;
import h.boxf;
import h.pointf;
import smetana.core.__struct__;

public class ellipse__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 __struct__ pointfof(double x, double y) {
// WARNING!! STRUCT
return pointfof_w_(x, y).copy();
}
private static __struct__ pointfof_w_(double x, double y) {
ENTERING("c1s4k85p1cdfn176o3uryeros","pointfof");
try {
    final __struct__ r = __struct__.from(pointf.class);
    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 1vvsta5i8of59frav6uymguav
// static inline boxf boxfof(double llx, double lly, double urx, double ury) 
public static __struct__ boxfof(double llx, double lly, double urx, double ury) {
// WARNING!! STRUCT
return boxfof_w_(llx, lly, urx, ury).copy();
}
private static __struct__ boxfof_w_(double llx, double lly, double urx, double ury) {
ENTERING("1vvsta5i8of59frav6uymguav","boxfof");
try {
    final __struct__ b = __struct__.from(boxf.class);
    b.getStruct("LL").setDouble("x", llx);
    b.getStruct("LL").setDouble("y", lly);
    b.getStruct("UR").setDouble("x", urx);
    b.getStruct("UR").setDouble("y", ury);
    return b;
} finally {
LEAVING("1vvsta5i8of59frav6uymguav","boxfof");
}
}




//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 __struct__ add_pointf(final __struct__ p, final __struct__ q) {
// WARNING!! STRUCT
return add_pointf_w_(p.copy(), q.copy()).copy();
}
private static __struct__ add_pointf_w_(final __struct__ p, final __struct__ q) {
ENTERING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf");
try {
    final __struct__ r = __struct__.from(pointf.class);
    r.setDouble("x", p.getDouble("x") + q.getDouble("x"));
    r.setDouble("y", p.getDouble("y") + q.getDouble("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 8vtqch9vmg15ugkvb5kjl1qj0
// static void computeFoci(ellipse_t * ep) 
public static Object computeFoci(Object... arg) {
UNSUPPORTED("5bcbitmdppffwahp7nmlbi83r"); // static void computeFoci(ellipse_t * ep)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("eid8kqvkuydr459fnsfbtpyc3"); //     double d = sqrt(ep->a * ep->a - ep->b * ep->b);
UNSUPPORTED("eeaywijqk4uxvw19tkbgu253m"); //     double dx = d * ep->cosTheta;
UNSUPPORTED("7vyd4ve72btbkfo43shwx7kau"); //     double dy = d * ep->sinTheta;
UNSUPPORTED("br7a9whx0v42l4kzkaa11t9pa"); //     ep->xF1 = ep->cx - dx;
UNSUPPORTED("dnp04v8l7mdx3jxxtc3sec415"); //     ep->yF1 = ep->cy - dy;
UNSUPPORTED("9hptigk23rnp3v4o7v1c9xvmx"); //     ep->xF2 = ep->cx + dx;
UNSUPPORTED("e94dmwui1l6ntq9ng55xax8sz"); //     ep->yF2 = ep->cy + dy;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 dbew322vv0bgrg4pymgszeaae
// static void computeEndPoints(ellipse_t * ep) 
public static Object computeEndPoints(Object... arg) {
UNSUPPORTED("rteaacx2szzim69sc25f66sp"); // static void computeEndPoints(ellipse_t * ep)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("852vsfhje4mvzn5rx2n6haj3a"); //     double aCosEta1 = ep->a * cos(ep->eta1);
UNSUPPORTED("5vmwuoxk5n6ypgduysu1dh0kp"); //     double bSinEta1 = ep->b * sin(ep->eta1);
UNSUPPORTED("4ezeyj8mjzl0ud7yld078fcyn"); //     double aCosEta2 = ep->a * cos(ep->eta2);
UNSUPPORTED("5opkvasd5uqsvfp6dk3070nav"); //     double bSinEta2 = ep->b * sin(ep->eta2);
UNSUPPORTED("8epdhhsfs576m8gn5ouli23am"); //     // start point
UNSUPPORTED("auzwiyyj4hsb2eboae8lyqlmr"); //     ep->x1 = ep->cx + aCosEta1 * ep->cosTheta - bSinEta1 * ep->sinTheta;
UNSUPPORTED("2fkvvtpflc1gcev5x50ukgmni"); //     ep->y1 = ep->cy + aCosEta1 * ep->sinTheta + bSinEta1 * ep->cosTheta;
UNSUPPORTED("3t5jjvo0n6xmvf92fj004j0hs"); //     // end point
UNSUPPORTED("ejinp3zk9hy2cymz06oocdlyj"); //     ep->x2 = ep->cx + aCosEta2 * ep->cosTheta - bSinEta2 * ep->sinTheta;
UNSUPPORTED("dpv02upzejm2ish3bydlsyc1z"); //     ep->y2 = ep->cy + aCosEta2 * ep->sinTheta + bSinEta2 * ep->cosTheta;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 f3ru0t0ysk3xq8fbxnr5ujcol
// static void computeBounds(ellipse_t * ep) 
public static Object computeBounds(Object... arg) {
UNSUPPORTED("9u1yf6gyi3s9qsowre67k9cox"); // static void computeBounds(ellipse_t * ep)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("1jhf3o4xhvl4fndu7fi826pia"); //     double bOnA = ep->b / ep->a;
UNSUPPORTED("bee7zzfdd190fvfubd4fs5b6l"); //     double etaXMin, etaXMax, etaYMin, etaYMax;
UNSUPPORTED("5afe3vaihk6e4p8x6gy8qfhcr"); //     if (abs(ep->sinTheta) < 0.1) {
UNSUPPORTED("b44ulenttvb6b1j69bgmz2dyb"); // 	double tanTheta = ep->sinTheta / ep->cosTheta;
UNSUPPORTED("8i8hnf634d0hep4k8kabadrxc"); // 	if (ep->cosTheta < 0) {
UNSUPPORTED("4b1t0o4s7kq4i1undk0da0jcz"); // 	    etaXMin = -atan(tanTheta * bOnA);
UNSUPPORTED("b7jmwu8pdrcw664uippx0c5la"); // 	    etaXMax = etaXMin + M_PI;
UNSUPPORTED("edthlj4laeqv2dvsbdo0ujj77"); // 	    etaYMin = 0.5 * M_PI - atan(tanTheta / bOnA);
UNSUPPORTED("9uxxapjhe1pfj97wusc80hs82"); // 	    etaYMax = etaYMin + M_PI;
UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); // 	} else {
UNSUPPORTED("5xmqdjsimutfhanihqci92yoj"); // 	    etaXMax = -atan(tanTheta * bOnA);
UNSUPPORTED("k1fpex84n120tc9umch4dd0n"); // 	    etaXMin = etaXMax - M_PI;
UNSUPPORTED("2i5a5rw4qsc8scf27aedttnj5"); // 	    etaYMax = 0.5 * M_PI - atan(tanTheta / bOnA);
UNSUPPORTED("2414bgwj0n3olrl7u8abdy7hm"); // 	    etaYMin = etaYMax - M_PI;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); //     } else {
UNSUPPORTED("dnl9l5tyykjo0dn6xjrbhnfaz"); // 	double invTanTheta = ep->cosTheta / ep->sinTheta;
UNSUPPORTED("n4to8nhj56e7uztxuu78u0sv"); // 	if (ep->sinTheta < 0) {
UNSUPPORTED("e9iw0rwef6vz2hztrrbzy3v6k"); // 	    etaXMax = 0.5 * M_PI + atan(invTanTheta / bOnA);
UNSUPPORTED("k1fpex84n120tc9umch4dd0n"); // 	    etaXMin = etaXMax - M_PI;
UNSUPPORTED("1cy9nyh492abntcky0ue533o7"); // 	    etaYMin = atan(invTanTheta * bOnA);
UNSUPPORTED("9uxxapjhe1pfj97wusc80hs82"); // 	    etaYMax = etaYMin + M_PI;
UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); // 	} else {
UNSUPPORTED("ckx1q1okd2zthayurvcirb8w3"); // 	    etaXMin = 0.5 * M_PI + atan(invTanTheta / bOnA);
UNSUPPORTED("b7jmwu8pdrcw664uippx0c5la"); // 	    etaXMax = etaXMin + M_PI;
UNSUPPORTED("1sqp1jtgyx1b6flh58samo02q"); // 	    etaYMax = atan(invTanTheta * bOnA);
UNSUPPORTED("2414bgwj0n3olrl7u8abdy7hm"); // 	    etaYMin = etaYMax - M_PI;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("7ltffkplh3lj7prv6bon5ei7e"); //     etaXMin -= ((2*M_PI) * floor((etaXMin - ep->eta1) / (2*M_PI)));
UNSUPPORTED("ady72sy3azf76ixh9cxjttc56"); //     etaYMin -= ((2*M_PI) * floor((etaYMin - ep->eta1) / (2*M_PI)));
UNSUPPORTED("9c6vacohw6o4p1e7voqrkz6n6"); //     etaXMax -= ((2*M_PI) * floor((etaXMax - ep->eta1) / (2*M_PI)));
UNSUPPORTED("cwmxqy86krxnxsomsoybaspuc"); //     etaYMax -= ((2*M_PI) * floor((etaYMax - ep->eta1) / (2*M_PI)));
UNSUPPORTED("dij74k8lt7yzvn6n6xmfq75n8"); //     ep->xLeft = (etaXMin <= ep->eta2)
UNSUPPORTED("1ukn2pq6zv8y6a9fgougih6wt"); // 	? (ep->cx + ep->a * cos(etaXMin) * ep->cosTheta -
UNSUPPORTED("aa4t9o7jjo8u8eqipf4kbzcq0"); // 	   ep->b * sin(etaXMin) * ep->sinTheta)
UNSUPPORTED("3zjfvhmp6k0k6v7hdfkdlto1q"); // 	: MIN(ep->x1, ep->x2);
UNSUPPORTED("atkfn6kpphewnxtsynnmvfeel"); //     ep->yUp = (etaYMin <= ep->eta2)
UNSUPPORTED("58sfpd21ohh829mr07sxluba8"); // 	? (ep->cy + ep->a * cos(etaYMin) * ep->sinTheta +
UNSUPPORTED("exo6jd6mgq4ngv2kzclxi72p7"); // 	   ep->b * sin(etaYMin) * ep->cosTheta)
UNSUPPORTED("3h3l4h9ad373p847bxm8pti3o"); // 	: MIN(ep->y1, ep->y2);
UNSUPPORTED("6y80nhe43fd7avmd01vjaydxv"); //     ep->width = ((etaXMax <= ep->eta2)
UNSUPPORTED("9rbb1o9htcoqa6f7h6yld63s8"); // 		 ? (ep->cx + ep->a * cos(etaXMax) * ep->cosTheta -
UNSUPPORTED("9abeby5gfh0jqgx8dk98hr2fc"); // 		    ep->b * sin(etaXMax) * ep->sinTheta)
UNSUPPORTED("bhv1vywv9qd5ca6t99xgkzk17"); // 		 : MAX(ep->x1, ep->x2)) - ep->xLeft;
UNSUPPORTED("2exid5xh3kknda3ysp93l9d3s"); //     ep->height = ((etaYMax <= ep->eta2)
UNSUPPORTED("1wxk3315oh6f0xk0syz7qugv"); // 		  ? (ep->cy + ep->a * cos(etaYMax) * ep->sinTheta +
UNSUPPORTED("1y457377scnua66r6tsljyj7u"); // 		     ep->b * sin(etaYMax) * ep->cosTheta)
UNSUPPORTED("8imiuzth6v80tk5lgs51w60jr"); // 		  : MAX(ep->y1, ep->y2)) - ep->yUp;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 6ux66xrlzxo48ong9gml2cqz6
// static void initEllipse(ellipse_t * ep, double cx, double cy, double a, double b, 	    double theta, double lambda1, double lambda2) 
public static Object initEllipse(Object... arg) {
UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
UNSUPPORTED("4qt5lx5lec9tzx3nexn72e2p0"); // initEllipse(ellipse_t * ep, double cx, double cy, double a, double b,
UNSUPPORTED("4fozc01yvrouj1drvzdcxx8tz"); // 	    double theta, double lambda1, double lambda2)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("90mx2sux5frp9aptmc8h9ye7y"); //     ep->cx = cx;
UNSUPPORTED("52hr1pca3zdv84xe26bd4fgng"); //     ep->cy = cy;
UNSUPPORTED("2aclnqswxw7pae437ifnxl13f"); //     ep->a = a;
UNSUPPORTED("36t2inuf67b2oiq7lep7z0zsh"); //     ep->b = b;
UNSUPPORTED("76yrwughjo484aczhkqz91f8c"); //     ep->theta = theta;
UNSUPPORTED("3lkrt052c6yilscp9h7qbjesg"); //     ep->eta1 = atan2(sin(lambda1) / b, cos(lambda1) / a);
UNSUPPORTED("b583gqgxa482v3bdcaa3hmw6q"); //     ep->eta2 = atan2(sin(lambda2) / b, cos(lambda2) / a);
UNSUPPORTED("cyam280f24o4coz4q6l0avz1t"); //     ep->cosTheta = cos(theta);
UNSUPPORTED("a0l008pmkvmqfo8fhm5sr77zm"); //     ep->sinTheta = sin(theta);
UNSUPPORTED("75g4xmc5yynuwuvgw4zi23c2l"); //     // make sure we have eta1 <= eta2 <= eta1 + 2*PI
UNSUPPORTED("1kto59za5qccggp3qkrmli3lb"); //     ep->eta2 -= (2*M_PI) * floor((ep->eta2 - ep->eta1) / (2*M_PI));
UNSUPPORTED("4hr1qdifrsqwsjgm5wxg8i4zo"); //     // the preceding correction fails if we have exactly eta2 - eta1 = 2*PI
UNSUPPORTED("2f6g4qg6bii7atjcpo9cpc4kg"); //     // it reduces the interval to zero length
UNSUPPORTED("1ezgfy2ndbltclwxwp8oojvm"); //     if ((lambda2 - lambda1 > M_PI) && (ep->eta2 - ep->eta1 < M_PI)) {
UNSUPPORTED("bynickn53la7xh8nqg3h8i1w"); // 	ep->eta2 += (2*M_PI);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("cccwh34t2pmjflf3kvq62r2x7"); //     computeFoci(ep);
UNSUPPORTED("wwi2rzhppnx0345v75k7kshh"); //     computeEndPoints(ep);
UNSUPPORTED("7i38ish6k60higbgoc0t6zryh"); //     computeBounds(ep);
UNSUPPORTED("8fv18ee53q0sd6joolf3c8tjf"); //     /* Flatness parameters */
UNSUPPORTED("5xixk4yhld5skmu6j7lpzrkg5"); //     ep->f = (ep->a - ep->b) / ep->a;
UNSUPPORTED("6dycpzwekx4x3ruzple8snldz"); //     ep->e2 = ep->f * (2.0 - ep->f);
UNSUPPORTED("adhmukdd7ygvxewqssb73dt59"); //     ep->g = 1.0 - ep->f;
UNSUPPORTED("1e4mn2c02ynfoqykfwkqf80y7"); //     ep->g2 = ep->g * ep->g;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}


//1 modnvis05b2ap40fth36fsbx
// typedef double erray_t[2][4][4]


//1 c28e3zyflxpxh5u2y5l9lxth7
// static erray_t coeffs2Low = 


//1 8xpyyldrcpysiemcf8n5fzkce
// static erray_t coeffs2High = 


//1 8srrrv3xnjrk83hlma25mqog0
// static double safety2[] = 


//1 c8as7txd6r6suzmt2cdon5boo
// static erray_t coeffs3Low = 


//1 5530t4mftd6n4c3wvqkmwe6pb
// static erray_t coeffs3High = 


//1 4jjyqprhu52o35a0x8um9rzbj
// static double safety3[] = 




//3 f45byv8jwcavrwa02m57bsq2f
// static double estimateError(ellipse_t * ep, int degree, double etaA, double etaB) 
public static Object estimateError(Object... arg) {
UNSUPPORTED("lt6cippjix5bbvyhkcpl8g7g"); // static double
UNSUPPORTED("81pe9jboqg99odbe4gatii9o5"); // estimateError(ellipse_t * ep, int degree, double etaA, double etaB)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("4nqjmzm78sbspzbbvh83l1wqj"); //     double c0, c1, eta = 0.5 * (etaA + etaB);
UNSUPPORTED("ei3ryx6a8qmb3j08w0r38fm5m"); //     if (degree < 2) {
UNSUPPORTED("bafgj5541k02iovom9pghd35i"); // 	// start point
UNSUPPORTED("al3j4ybn9xey3d8hxfovxes0r"); // 	double aCosEtaA = ep->a * cos(etaA);
UNSUPPORTED("6j0wqgniqhykqlxzy5nfjkcht"); // 	double bSinEtaA = ep->b * sin(etaA);
UNSUPPORTED("5v68bplm2zxmrq1941oy9c0he"); // 	double xA =
UNSUPPORTED("7hlnzbhb4vu0s8m3iekr9hs7i"); // 	    ep->cx + aCosEtaA * ep->cosTheta - bSinEtaA * ep->sinTheta;
UNSUPPORTED("bakm3osn3jh0yvyhjtb8auiqf"); // 	double yA =
UNSUPPORTED("25tfmxpd3xeq7idm8hg6smumu"); // 	    ep->cy + aCosEtaA * ep->sinTheta + bSinEtaA * ep->cosTheta;
UNSUPPORTED("57vo4lo58ualncbhe0g66qqxo"); // 	// end point
UNSUPPORTED("e1lvbiz37gwq3w3lsbwmywejy"); // 	double aCosEtaB = ep->a * cos(etaB);
UNSUPPORTED("6g4xkqaa3vkriejl85k6d6ip8"); // 	double bSinEtaB = ep->b * sin(etaB);
UNSUPPORTED("5b70fbxrii2h834flkxu129e3"); // 	double xB =
UNSUPPORTED("ctwnvvfffsf081yo227cp2slu"); // 	    ep->cx + aCosEtaB * ep->cosTheta - bSinEtaB * ep->sinTheta;
UNSUPPORTED("74m124l1fdd7igt4ja3mvquo1"); // 	double yB =
UNSUPPORTED("efdfyhsh3wk8cpsn3nrf1ib7m"); // 	    ep->cy + aCosEtaB * ep->sinTheta + bSinEtaB * ep->cosTheta;
UNSUPPORTED("d6dlj9oid3ny4l1nt34bpj05b"); // 	// maximal error point
UNSUPPORTED("9mm8mdhifxed86jq3pangsa8k"); // 	double aCosEta = ep->a * cos(eta);
UNSUPPORTED("4rv2z0s2o3hox4otx4uyxx16r"); // 	double bSinEta = ep->b * sin(eta);
UNSUPPORTED("53v1o3w0oa8nltejmlnlem1c8"); // 	double x =
UNSUPPORTED("ddk8om4owxtmb9qebyops2xgx"); // 	    ep->cx + aCosEta * ep->cosTheta - bSinEta * ep->sinTheta;
UNSUPPORTED("d6e8tgeqiqg1hn73iswv050l5"); // 	double y =
UNSUPPORTED("6jzcvmj8xlc2s6kq5pn8zgiq1"); // 	    ep->cy + aCosEta * ep->sinTheta + bSinEta * ep->cosTheta;
UNSUPPORTED("7shptv1gfgw2txdkiohaew5qu"); // 	double dx = xB - xA;
UNSUPPORTED("7q4tonxuivpv3r60br713u8cw"); // 	double dy = yB - yA;
UNSUPPORTED("7dxwccoxgtghiyyg2nbgngdrt"); // 	return abs(x * dy - y * dx + xB * yA - xA * yB)
UNSUPPORTED("6ttfnx9a8ob4ukzb7oecubvg9"); // 	    / sqrt(dx * dx + dy * dy);
UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); //     } else {
UNSUPPORTED("2y5n6pky28slb57ykhvtcp62n"); // 	double x = ep->b / ep->a;
UNSUPPORTED("2csh64kflwrp07e3dwv9oz03t"); // 	double dEta = etaB - etaA;
UNSUPPORTED("et9z35jbfy808p3b42ps137cy"); // 	double cos2 = cos(2 * eta);
UNSUPPORTED("asyn8y03tdpjngvspmbkqth8c"); // 	double cos4 = cos(4 * eta);
UNSUPPORTED("dbgklearxausxvblrhmwm69km"); // 	double cos6 = cos(6 * eta);
UNSUPPORTED("a58pvybppvlmnbdyx45xdpyzw"); // 	// select the right coefficient's set according to degree and b/a
UNSUPPORTED("2258kkvkn5md3tcdny03b96k2"); // 	double (*coeffs)[4][4];
UNSUPPORTED("1ukfunkznhy5tkck4go86qhv9"); // 	double *safety;
UNSUPPORTED("1o8yyd7ow42gdsrc8ewk6le6n"); // 	if (degree == 2) {
UNSUPPORTED("41zkkw49rrvzklq1eqh9s2s9r"); // 	    coeffs = (x < 0.25) ? coeffs2Low : coeffs2High;
UNSUPPORTED("cg5jc2ey7bz90ddwt40jqnapb"); // 	    safety = safety2;
UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); // 	} else {
UNSUPPORTED("9rtt3vwq0rhvfakl2i8tdk8be"); // 	    coeffs = (x < 0.25) ? coeffs3Low : coeffs3High;
UNSUPPORTED("egps64f0a68wnh3q6fx4p2ysy"); // 	    safety = safety3;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("eml5k8qxnrchzpqnm01ruuwqo"); // 	c0 = ((x * (x * coeffs[0][0][0] + coeffs[0][0][1]) + coeffs[0][0][2]) / (x + coeffs[0][0][3]))
UNSUPPORTED("cqxpgi4zr6bvyfr0o4mp6rd5s"); // 	    + cos2 * ((x * (x * coeffs[0][1][0] + coeffs[0][1][1]) + coeffs[0][1][2]) / (x + coeffs[0][1][3]))
UNSUPPORTED("b2eaiaddcuwhzq50t4gatlzww"); // 	    + cos4 * ((x * (x * coeffs[0][2][0] + coeffs[0][2][1]) + coeffs[0][2][2]) / (x + coeffs[0][2][3]))
UNSUPPORTED("3d527fertf5i60a5fk29pct9d"); // 	    + cos6 * ((x * (x * coeffs[0][3][0] + coeffs[0][3][1]) + coeffs[0][3][2]) / (x + coeffs[0][3][3]));
UNSUPPORTED("c6s11bu0ckntk4q6dyit2jxic"); // 	c1 = ((x * (x * coeffs[1][0][0] + coeffs[1][0][1]) + coeffs[1][0][2]) / (x + coeffs[1][0][3]))
UNSUPPORTED("f3pfupz6exjm23p6vys39euar"); // 	    + cos2 * ((x * (x * coeffs[1][1][0] + coeffs[1][1][1]) + coeffs[1][1][2]) / (x + coeffs[1][1][3]))
UNSUPPORTED("bgs8cv8obm3ryyjj229tlmswm"); // 	    + cos4 * ((x * (x * coeffs[1][2][0] + coeffs[1][2][1]) + coeffs[1][2][2]) / (x + coeffs[1][2][3]))
UNSUPPORTED("azmk1qgarnulp3giuvas37jno"); // 	    + cos6 * ((x * (x * coeffs[1][3][0] + coeffs[1][3][1]) + coeffs[1][3][2]) / (x + coeffs[1][3][3]));
UNSUPPORTED("1ky4r4vl6t393yk9kbgw7bh2x"); // 	return ((x * (x * safety[0] + safety[1]) + safety[2]) / (x + safety[3])) * ep->a * exp(c0 + c1 * dEta);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}


//1 70xw8j1k8uyzbal94r6eojd9y
// static int bufsize




//3 6ob4t12ro0s6l779gciak3bch
// static void moveTo(Ppolyline_t * path, double x, double y) 
public static Object moveTo(Object... arg) {
UNSUPPORTED("1hy4wd0k1zued4le59e0n2zc2"); // static void moveTo(Ppolyline_t * path, double x, double y)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("3wse6f3637ka6m9l7uw8u00zs"); //     bufsize = 100;
UNSUPPORTED("36x1yvktu0m3dauxwru23h4he"); //     path->ps = (pointf*)zmalloc((bufsize)*sizeof(pointf));
UNSUPPORTED("3jdc8ww9wt3jm2on3wzk2iicp"); //     path->ps[0].x = x;
UNSUPPORTED("2ott6971tzqm0pgv2ntsp6xmq"); //     path->ps[0].y = y;
UNSUPPORTED("blxf8yf4uhyfflf4s704tdny4"); //     path->pn = 1;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 92tacqag0enwgnsai827dzvj
// static void curveTo(Ppolyline_t * path, double x1, double y1, 	double x2, double y2, double x3, double y3) 
public static Object curveTo(Object... arg) {
UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
UNSUPPORTED("8wpj32rf7vxw5vksq9xbd723q"); // curveTo(Ppolyline_t * path, double x1, double y1,
UNSUPPORTED("d9cxkpd6vb2ake96idw50f8p4"); // 	double x2, double y2, double x3, double y3)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("3ffriosb52yi4g0r0rfskyuh2"); //     if (path->pn + 3 >= bufsize) {
UNSUPPORTED("89opqpdbhaunecn3x2fhgoqi1"); // 	bufsize *= 2;
UNSUPPORTED("el037gz5k64eu70ci3r4jz1fg"); // 	path->ps = realloc(path->ps, bufsize * sizeof(pointf));
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("cnq0jqrsqam2tzexsj9ljdacb"); //     path->ps[path->pn].x = x1;
UNSUPPORTED("eb422k88tthew61m5cvgev4zm"); //     path->ps[path->pn++].y = y1;
UNSUPPORTED("7tynfe9ozr1hbls4dy97cydmg"); //     path->ps[path->pn].x = x2;
UNSUPPORTED("5n2xvadiyrbz2jru3tqre1yia"); //     path->ps[path->pn++].y = y2;
UNSUPPORTED("9sdwwiwapq125zwfw36v6hq0n"); //     path->ps[path->pn].x = x3;
UNSUPPORTED("3dhx7b3v7gj0wtqehfwnjh7ql"); //     path->ps[path->pn++].y = y3;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 5wgj2c7ammc2srsk18ybblucr
// static void lineTo(Ppolyline_t * path, double x, double y) 
public static Object lineTo(Object... arg) {
UNSUPPORTED("4788edx5cz2g1llvg7gdrhgkb"); // static void lineTo(Ppolyline_t * path, double x, double y)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("7bwr2izdyqrsr0jge28mgc6h7"); //     pointf curp = path->ps[path->pn - 1];
UNSUPPORTED("6uibs0390x3y4023ll8jz3mtf"); //     curveTo(path, curp.x, curp.y, x, y, x, y);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 4si3gfp3na9r1cx2rppxmqocc
// static void endPath(Ppolyline_t * path, boolean close) 
public static Object endPath(Object... arg) {
UNSUPPORTED("a3i3545ftylhs0w17yipx92xr"); // static void endPath(Ppolyline_t * path, boolean close)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("125u8ocmya1ui6f2vy92ys41c"); //     if (close) {
UNSUPPORTED("3djonfjd3xbwxbodqwx1skugw"); // 	pointf p0 = path->ps[0];
UNSUPPORTED("71o5tbu2chebztr0guygypx2z"); // 	lineTo(path, p0.x, p0.y);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("encppe3huv4mp2ji9ia8we1rf"); //     path->ps = realloc(path->ps, path->pn * sizeof(pointf));
UNSUPPORTED("dq633y7scsa3qogdlcv98ujt4"); //     bufsize = 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 b76b8i1fllarol9vjfahw6uya
// static Ppolyline_t *genEllipticPath(ellipse_t * ep, int degree, 				    double threshold, boolean isSlice) 
public static Object genEllipticPath(Object... arg) {
UNSUPPORTED("91sbkwh00nzifuk95ozdary4"); // static Ppolyline_t *genEllipticPath(ellipse_t * ep, int degree,
UNSUPPORTED("1jho2qfx5zatpnhywq7fypo"); // 				    double threshold, boolean isSlice)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("aowovz5r9m2dfhwxk2moegfwg"); //     double dEta;
UNSUPPORTED("cbeyotgoz8sj8w1p2ma1po8yg"); //     double etaB;
UNSUPPORTED("31to79oaw2rkhf29ccrl20mj2"); //     double cosEtaB;
UNSUPPORTED("b8gcx58tzmh72ms4ssnot545i"); //     double sinEtaB;
UNSUPPORTED("4eacqyzdlewxnmaedlule7mx8"); //     double aCosEtaB;
UNSUPPORTED("8oztmyi1wky7n2k1gjxw5k2kf"); //     double bSinEtaB;
UNSUPPORTED("1kstfc0e2hdfd15g9e9uvr53g"); //     double aSinEtaB;
UNSUPPORTED("9rgvt9yas8ku0zhgttge30k3x"); //     double bCosEtaB;
UNSUPPORTED("dpyf0oqvxn4itklm9k5eo1fif"); //     double xB;
UNSUPPORTED("di8gcqpn4bf80nprjr1q526q4"); //     double yB;
UNSUPPORTED("89sledhxl1y6gptmb75g76trn"); //     double xBDot;
UNSUPPORTED("aau6f1pgrltq35uj7q9zcuevw"); //     double yBDot;
UNSUPPORTED("6wfj8onzmd4ihhh62dqfmqpbx"); //     double t;
UNSUPPORTED("7y0h5n9q9sdwej5muoboxjtl8"); //     double alpha;
UNSUPPORTED("6gfec3zgd4i523lz512hts9ly"); //     Ppolyline_t *path = (Ppolyline_t*)zmalloc(sizeof(Ppolyline_t));
UNSUPPORTED("dh1qpynvja9ozx3mmd9xuy10i"); //     // find the number of Bezier curves needed
UNSUPPORTED("ar4ns635419133da91e2k1etc"); //     boolean found = 0;
UNSUPPORTED("8w8z8tst3x20ezyvmfejrucxb"); //     int i, n = 1;
UNSUPPORTED("41b6xd1eatvjppvf8h03krn8u"); //     while ((!found) && (n < 1024)) {
UNSUPPORTED("f2apscs44h7zvtbyq6zuf5leb"); // 	double dEta = (ep->eta2 - ep->eta1) / n;
UNSUPPORTED("z2j1gwsh2yqpq6i9hqsygpn7"); // 	if (dEta <= 0.5 * M_PI) {
UNSUPPORTED("5ypdcm9cz1l4o6qvyhn7lusyw"); // 	    double etaB = ep->eta1;
UNSUPPORTED("3rhtrb7nj3d17mymh37964wkq"); // 	    found = NOT(0);
UNSUPPORTED("dmx4u8plzqizvbw217h1c18v0"); // 	    for (i = 0; found && (i < n); ++i) {
UNSUPPORTED("1owrp5mnc0asdgluskbl1mc2t"); // 		double etaA = etaB;
UNSUPPORTED("cpmqpv752wy651vgw5t9u64dp"); // 		etaB += dEta;
UNSUPPORTED("abj2hmy07ynfglx6g7zr1f6ne"); // 		found =
UNSUPPORTED("6vs1fqoounnf8ofyr68pb75xn"); // 		    (estimateError(ep, degree, etaA, etaB) <= threshold);
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // 	    }
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("9ei4d4anf86nhrp9dfszb6ff5"); // 	n = n << 1;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("8glirgejroxk9jsnn8oejt27z"); //     dEta = (ep->eta2 - ep->eta1) / n;
UNSUPPORTED("394kiqtci2payvw1njliknrih"); //     etaB = ep->eta1;
UNSUPPORTED("2ve4a5xpd6fkmbne0apabjwlq"); //     cosEtaB = cos(etaB);
UNSUPPORTED("1rbfssozfn3y0rahc86urmbxz"); //     sinEtaB = sin(etaB);
UNSUPPORTED("81sh0z0xif6urj4v0h9absql5"); //     aCosEtaB = ep->a * cosEtaB;
UNSUPPORTED("7odi6naflbbvvowb3vp5gtyhd"); //     bSinEtaB = ep->b * sinEtaB;
UNSUPPORTED("7luv4wv6c1jfj68avkop12sdz"); //     aSinEtaB = ep->a * sinEtaB;
UNSUPPORTED("jebv6n0pxm00athds44rw762"); //     bCosEtaB = ep->b * cosEtaB;
UNSUPPORTED("aaqx8hl76xuq6qx64odpwxjsy"); //     xB = ep->cx + aCosEtaB * ep->cosTheta - bSinEtaB * ep->sinTheta;
UNSUPPORTED("a7epwiprisvk7hatwz29e81vn"); //     yB = ep->cy + aCosEtaB * ep->sinTheta + bSinEtaB * ep->cosTheta;
UNSUPPORTED("cx4qajzc2uxg7xihh8j3ydlmd"); //     xBDot = -aSinEtaB * ep->cosTheta - bCosEtaB * ep->sinTheta;
UNSUPPORTED("f2a8vdqh1dkv7gnwr4536d6af"); //     yBDot = -aSinEtaB * ep->sinTheta + bCosEtaB * ep->cosTheta;
UNSUPPORTED("7pkr7zujmkk8j0xh1n1ivj8i1"); //     if (isSlice) {
UNSUPPORTED("csdxg3xqeagn92mcrjyq40r5c"); // 	moveTo(path, ep->cx, ep->cy);
UNSUPPORTED("1fqyscfa9fwuf5n2rhjn4nvuj"); // 	lineTo(path, xB, yB);
UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); //     } else {
UNSUPPORTED("6htku7y9bbpib1fzlig3k9ial"); // 	moveTo(path, xB, yB);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("8oqm5tqho5p9xkljdyubg0zur"); //     t = tan(0.5 * dEta);
UNSUPPORTED("97rqqc2zbf5t0if1dkm0j3um1"); //     alpha = sin(dEta) * (sqrt(4 + 3 * t * t) - 1) / 3;
UNSUPPORTED("8hfre4wnsmu5vg8bloua9pt0x"); //     for (i = 0; i < n; ++i) {
UNSUPPORTED("1f7sp0cdfz66t9m125f6bwj0a"); // 	double xA = xB;
UNSUPPORTED("3qungfyrl8d4zazdrtnoqi7bj"); // 	double yA = yB;
UNSUPPORTED("djs8dfefd0tw9q6sty5q9kb6x"); // 	double xADot = xBDot;
UNSUPPORTED("5s7fznr9wo7tb01tnkzy3a9x0"); // 	double yADot = yBDot;
UNSUPPORTED("9zmdugqhtonbk2uax4r1smfp0"); // 	etaB += dEta;
UNSUPPORTED("40atcaschllkhc48gvgcctqqx"); // 	cosEtaB = cos(etaB);
UNSUPPORTED("3wk53wrbggqm9bldp0x0imauu"); // 	sinEtaB = sin(etaB);
UNSUPPORTED("cgtssyu17hyr1izu0kd9zqyb2"); // 	aCosEtaB = ep->a * cosEtaB;
UNSUPPORTED("5w40g6uq2np9av26cpdk9i9b4"); // 	bSinEtaB = ep->b * sinEtaB;
UNSUPPORTED("3b4sjubnmli66nlqf5q3q3719"); // 	aSinEtaB = ep->a * sinEtaB;
UNSUPPORTED("7nqyo2i7o0i5814kpz1t8fvkf"); // 	bCosEtaB = ep->b * cosEtaB;
UNSUPPORTED("orxom0ksatjcwil29m8c8xpr"); // 	xB = ep->cx + aCosEtaB * ep->cosTheta - bSinEtaB * ep->sinTheta;
UNSUPPORTED("9y4re0bc7gs6ezwo6dc6qq99n"); // 	yB = ep->cy + aCosEtaB * ep->sinTheta + bSinEtaB * ep->cosTheta;
UNSUPPORTED("7m8ftuaslxmui9i3e48skp9jg"); // 	xBDot = -aSinEtaB * ep->cosTheta - bCosEtaB * ep->sinTheta;
UNSUPPORTED("8m21k2haq7dcptayx554yipuh"); // 	yBDot = -aSinEtaB * ep->sinTheta + bCosEtaB * ep->cosTheta;
UNSUPPORTED("1mkkhdqaw4q68ikbcimj4nnhm"); // 	if (degree == 1) {
UNSUPPORTED("4y2q0gdsegz0qgrxygnze69gy"); // 	    lineTo(path, xB, yB);
UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); // 	} else {
UNSUPPORTED("8szp6o6pmribq5pnz7f822m68"); // 	    curveTo(path, (xA + alpha * xADot), (yA + alpha * yADot),
UNSUPPORTED("e24ni1b4ssyrj0fchznzlca7f"); // 		    (xB - alpha * xBDot), (yB - alpha * yBDot), xB, yB);
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("drbttufba5uy7q29k27vn86q2"); //     endPath(path, isSlice);
UNSUPPORTED("1funi6zh0ilqaehngcqcvj4dv"); //     return path;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 ee3uvbiaoz1oj4yogh3160ow8
// Ppolyline_t *ellipticWedge(pointf ctr, double xsemi, double ysemi, 			   double angle0, double angle1) 
public static Object ellipticWedge(Object... arg) {
UNSUPPORTED("451xfygtsc86bfhvc33x9gzww"); // Ppolyline_t *ellipticWedge(pointf ctr, double xsemi, double ysemi,
UNSUPPORTED("578jtluj0t4iz6w97uoncr9mi"); // 			   double angle0, double angle1)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("b1pam4t64t0vpc7cazx2uxqpw"); //     ellipse_t ell;
UNSUPPORTED("8b9keoeetrhid6hvr0lbl3p9l"); //     Ppolyline_t *pp;
UNSUPPORTED("wm5wmb9qw0libmt58lrk9ql5"); //     initEllipse(&ell, ctr.x, ctr.y, xsemi, ysemi, 0, angle0, angle1);
UNSUPPORTED("18dpm0f93alpm6wn3gvtr5a18"); //     pp = genEllipticPath(&ell, 3, 0.00001, 1);
UNSUPPORTED("7etsvryh248syh0l6ag8lcsi2"); //     return pp;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy