/dports/math/kig/kig-21.12.3/objects/ |
H A D | angle_type.cc | 79 double startangle = atan2( lvect.y, lvect.x ); in calc() local 81 double anglelength = endangle - startangle; in calc() 83 if ( startangle < 0 ) startangle += 2*M_PI; in calc() 120 double startangle = atan2( lvect.y, lvect.x ); in executeAction() local 122 double anglelength = endangle - startangle; in executeAction() 124 if ( startangle < 0 ) startangle += 2*M_PI; in executeAction() 189 double startangle = atan2( lvect.y, lvect.x ); in calc() local 191 double anglelength = endangle - startangle; in calc() 193 if ( startangle < 0 ) startangle += 2 * M_PI; in calc() 197 startangle += anglelength; in calc() [all …]
|
H A D | arc_type.cc | 74 double startangle = 0.; in calc() local 117 startangle = anglec; in calc() 122 startangle = anglea; in calc() 298 double startangle = 0.; in calc() local 314 startangle = anglec; in calc() 319 startangle = anglea; in calc() 323 me->setStartAngle( startangle ); in calc() 411 double startangle = 0.; in calc() local 428 startangle = anglec; in calc() 433 startangle = anglea; in calc() [all …]
|
/dports/audio/din/din-52/src/ |
H A D | circler.cc | 37 f >> ignore >> radius >> ignore >> startangle >> ignore >> endangle >> ignore >> num_points; in load_params() 43 f << "startangle " << startangle << endl; in save_params() 52 widget* _ctrls [] = {&sp.radius, &sp.startangle, &sp.endangle, &sp.num_points, &scr}; in setup() 61 sp.startangle.set ("Start angle", 1.0f, -MILLION, MILLION, this, 0); in setup() 62 sp.startangle.set_value (startangle); in setup() 85 startangle = sp.startangle.f_value; in render() 90 theta = startangle * PI_BY_180; in render() 91 dtheta = (endangle - startangle) / num_points * PI_BY_180; in render() 121 if (&f == &sp.startangle.f_value) { in changed() 122 startangle = float(sp.startangle.f_value); in changed()
|
/dports/lang/basic256/basic256-2.0.0.11/Examples/ |
H A D | pie_chart.kbs | 19 startangle = 0 24 pie 50,50,200,200,startangle,slicesize 26 text 140+sin(startangle+slicesize*.5)*120, 140-cos(startangle+slicesize*.5)*120, data[n] 27 startangle += slicesize 35 startangle = 0 40 pie 150,150,100,startangle,slicesize 42 text 140+sin(startangle+slicesize*.5)*120, 140-cos(startangle+slicesize*.5)*120, data[n] 43 startangle += slicesize
|
/dports/biology/py-biopython/biopython-1.79/Bio/Graphics/GenomeDiagram/ |
H A D | _CircularDrawer.py | 1088 startangle, argument 1145 startcos, startsin = cos(startangle), sin(startangle) 1279 startangle, argument 1300 startangle, endangle = min(startangle, endangle), max(startangle, endangle) 1317 startcos, startsin = cos(startangle), sin(startangle) 1396 startangle, argument 1418 startangle, endangle = min(startangle, endangle), max(startangle, endangle) 1453 startcos, startsin = cos(startangle), sin(startangle) 1586 startangle, argument 1617 startangle, endangle = min(startangle, endangle), max(startangle, endangle) [all …]
|
/dports/astro/opencpn/OpenCPN-5.2.4/plugins/dashboard_pi/src/ |
H A D | clock.cpp | 167 int startangle = ( m_hemisphere == _("N") ? -90 : 90 ); in Draw() local 184 …DrawEllipticArc( x-m_radius, m_TitleHeight+5, m_radius*2, m_radius*2, startangle, startangle+180 ); in Draw() 186 …DrawEllipticArc( x-m_radius/2, m_TitleHeight+5, m_radius, m_radius*2, startangle, startangle+180 ); in Draw() 190 …DrawEllipticArc( x-m_radius, m_TitleHeight+5, m_radius*2, m_radius*2, startangle, startangle+180 ); in Draw() 194 …rawEllipticArc( x-m_radius/2, m_TitleHeight+5, m_radius, m_radius*2, -startangle, 180-startangle ); in Draw() 195 …DrawEllipticArc( x-m_radius, m_TitleHeight+5, m_radius*2, m_radius*2, startangle, startangle+180 ); in Draw() 201 …rawEllipticArc( x-m_radius, m_TitleHeight+5, m_radius*2, m_radius*2, -startangle, 180-startangle ); in Draw() 202 …DrawEllipticArc( x-m_radius/2, m_TitleHeight+5, m_radius, m_radius*2, startangle, startangle+180 ); in Draw() 205 …rawEllipticArc( x-m_radius, m_TitleHeight+5, m_radius*2, m_radius*2, -startangle, 180-startangle ); in Draw() 208 …rawEllipticArc( x-m_radius, m_TitleHeight+5, m_radius*2, m_radius*2, -startangle, 180-startangle ); in Draw() [all …]
|
/dports/cad/py-ezdxf/ezdxf-0.16.3/examples/render/ |
H A D | render_ellipse.py | 39 for startangle in [0, 30, 45, 60, 90]: 40 m = tmatrix(40, 0, startangle) 42 … ellipse(90, rx=5., ry=2., start_param=radians(startangle), end_param= radians(startangle+90))) 45 …ellipse(90, rx=5., ry=2., start_param=radians(startangle+180), end_param= radians(startangle+270)))
|
/dports/cad/zcad/zcad-8b8a693/cad_source/zengine/core/entities/ |
H A D | uzeentellipse.pas | 204 startangle := 0; 219 startangle := s; 258 angle := endangle - startangle; 261 v.x:=cos(startangle{*pi/180}); 262 v.y:=sin(startangle{*pi/180}); 355 angle := endangle - startangle; 367 v.x:=cos(startangle); 368 v.y:=sin(startangle); 473 startangle := startangle{ * pi / 180}; 647 if startangle>endangle then [all …]
|
H A D | uzeentarc.pas | 219 startangle := 0; 230 startangle := s; 277 angle := endangle - startangle; 279 v.x:=cos(startangle{*pi/180}); 280 v.y:=sin(startangle{*pi/180}); 420 angle := endangle - startangle; 425 v.x:=cos(startangle); 426 v.y:=sin(startangle); 576 startangle := startangle * pi / 180; 765 startangle:=ad.startangle; [all …]
|
/dports/graphics/plotutils/plotutils-2.6/libplot/ |
H A D | i_path.c | 323 int startangle, anglerange; in _pl_i_draw_elliptic_arc() local 380 startangle, anglerange); in _pl_i_draw_elliptic_arc() 394 int startangle, endangle, anglerange; in _pl_i_draw_elliptic_arc_2() local 428 if (endangle < startangle) in _pl_i_draw_elliptic_arc_2() 438 tmp = startangle; in _pl_i_draw_elliptic_arc_2() 439 startangle = endangle; in _pl_i_draw_elliptic_arc_2() 444 if (startangle >= 360) in _pl_i_draw_elliptic_arc_2() 446 startangle -= 360; /* endangle no longer relevant */ in _pl_i_draw_elliptic_arc_2() 458 startangle *= 64; in _pl_i_draw_elliptic_arc_2() 464 startangle, anglerange); in _pl_i_draw_elliptic_arc_2() [all …]
|
H A D | b_path.c | 333 int startangle, anglerange; in _pl_b_draw_elliptic_arc() local 390 startangle, anglerange); in _pl_b_draw_elliptic_arc() 404 int startangle, endangle, anglerange; in _pl_b_draw_elliptic_arc_2() local 438 if (endangle < startangle) in _pl_b_draw_elliptic_arc_2() 448 tmp = startangle; in _pl_b_draw_elliptic_arc_2() 449 startangle = endangle; in _pl_b_draw_elliptic_arc_2() 454 if (startangle >= 360) in _pl_b_draw_elliptic_arc_2() 456 startangle -= 360; /* endangle no longer relevant */ in _pl_b_draw_elliptic_arc_2() 468 startangle *= 64; in _pl_b_draw_elliptic_arc_2() 474 startangle, anglerange); in _pl_b_draw_elliptic_arc_2() [all …]
|
H A D | x_path.c | 612 int startangle, anglerange; in _pl_x_draw_elliptic_arc() local 669 startangle, anglerange); in _pl_x_draw_elliptic_arc() 718 if (endangle < startangle) in _pl_x_draw_elliptic_arc_2() 728 tmp = startangle; in _pl_x_draw_elliptic_arc_2() 729 startangle = endangle; in _pl_x_draw_elliptic_arc_2() 734 if (startangle >= 360) in _pl_x_draw_elliptic_arc_2() 748 startangle *= 64; in _pl_x_draw_elliptic_arc_2() 821 startangle, anglerange); in _pl_x_draw_elliptic_arc_internal() 826 startangle, anglerange); in _pl_x_draw_elliptic_arc_internal() 921 startangle, anglerange); in _pl_x_draw_elliptic_arc_internal() [all …]
|
/dports/graphics/Coin/coin-Coin-4.0.0/src/nodes/ |
H A D | SoRotor.cpp | 113 float startangle; member in SoRotorP 159 this->rotation.getValue(PRIVATE(this)->startaxis, PRIVATE(this)->startangle); in SoRotor() 190 thisp->rotation.getValue(PRIVATE(thisp)->startaxis, PRIVATE(thisp)->startangle); in fieldSensorCB() 195 thisp->rotation.getValue(PRIVATE(thisp)->startaxis, PRIVATE(thisp)->startangle); in fieldSensorCB() 199 thisp->rotation.getValue(PRIVATE(thisp)->startaxis, PRIVATE(thisp)->startangle); in fieldSensorCB() 231 float angle = this->startangle + diffangle; in setRotation()
|
/dports/cad/zcad/zcad-8b8a693/cad_source/zengine/fonts/ |
H A D | uzeffshx.pas | 107 startangle:=ad.startangle; 108 angle:=ad.endangle-ad.startangle; 115 x1:=ad.p.x+(ad.r)*cos(startangle+j/arccount*angle); 116 y1:=ad.p.y+(ad.r)*sin(startangle+j/arccount*angle); 491 startangle:=hi*pi/4; 492 xb:=x-r*cos(startangle); 493 yb:=y-r*sin(startangle); 545 xb:=x-r*cos(startangle); 546 yb:=y-r*sin(startangle); 557 x1:=xb+r*cos(startangle+i/arccount*angle); [all …]
|
/dports/math/kig/kig-21.12.3/filters/ |
H A D | asyexporterimpvisitor.cc | 282 double startangle = imp->startAngle(); in visit() local 283 double endangle = startangle + imp->angle(); in visit() 285 startangle = Goniometry::convert( startangle, Goniometry::Rad, Goniometry::Deg ); in visit() 293 << startangle in visit() 371 double startangle = imp->startAngle(); in visit() local 372 double endangle = startangle + imp->angle(); in visit() 374 startangle = Goniometry::convert( startangle, Goniometry::Rad, Goniometry::Deg ); in visit() 382 << startangle in visit()
|
/dports/misc/elki/elki-release0.7.1-1166-gfb1fffdf3/addons/3dpc/src/main/java/de/lmu/ifi/dbs/elki/visualization/parallel3d/util/ |
H A D | Arcball1DOFAdapter.java | 71 double startangle; field in Arcball1DOFAdapter 110 startangle = FastMath.atan2(startvec[1], startvec[0]); in mousePressed() 141 camera.setRotationZ(startcamera.getRotationZ() + (upangle - startangle)); in mouseDragged() 159 double rot = startangle - startcamera.getRotationZ(); in debugRender()
|
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/add_curve_extra_objects/ |
H A D | add_curve_simple.py | 159 startangle = radians(startangle) 164 x = cos(startangle) * radius 165 y = sin(startangle) * radius 187 startangle = radians(startangle) 193 x = cos(startangle) * radius 194 y = sin(startangle) * radius 216 startangle = radians(startangle) 221 x = cos(startangle) * a 222 y = sin(startangle) * a 245 x = cos(startangle) * b [all …]
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/live_effects/ |
H A D | lpe-attach-path.cpp | 97 …double startangle = atan2(start_path_curve_start.getVector().y(), start_path_curve_start.getVector… in doEffect() local 101 …start.getVector().length() * cos(startangle + startderiv), start_path_curve_start.getVector().leng… in doEffect() 153 …double startangle = atan2(end_path_curve_start.getVector().y(), end_path_curve_start.getVector().x… in doEffect() local 157 …_start.getVector().length() * cos(startangle + startderiv), end_path_curve_start.getVector().lengt… in doEffect()
|
/dports/editors/lazarus/lazarus/components/aggpas/src/ |
H A D | agg_lcl.pas | 506 a, da, startangle, endangle: Double; 517 if startangle>endangle then begin 518 a:=startangle; 519 startangle:=endangle; 524 a:=startangle; 545 a, da, startangle, endangle: Double; 560 if startangle>endangle then begin 561 a:=startangle; 562 startangle:=endangle; 567 a:=startangle; [all …]
|
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/aggpas/src/ |
H A D | agg_lcl.pas | 506 a, da, startangle, endangle: Double; 517 if startangle>endangle then begin 518 a:=startangle; 519 startangle:=endangle; 524 a:=startangle; 545 a, da, startangle, endangle: Double; 560 if startangle>endangle then begin 561 a:=startangle; 562 startangle:=endangle; 567 a:=startangle; [all …]
|
/dports/editors/lazarus-qt5/lazarus/components/aggpas/src/ |
H A D | agg_lcl.pas | 506 a, da, startangle, endangle: Double; 517 if startangle>endangle then begin 518 a:=startangle; 519 startangle:=endangle; 524 a:=startangle; 545 a, da, startangle, endangle: Double; 560 if startangle>endangle then begin 561 a:=startangle; 562 startangle:=endangle; 567 a:=startangle; [all …]
|
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/aggpas/src/ |
H A D | agg_lcl.pas | 506 a, da, startangle, endangle: Double; 517 if startangle>endangle then begin 518 a:=startangle; 519 startangle:=endangle; 524 a:=startangle; 545 a, da, startangle, endangle: Double; 560 if startangle>endangle then begin 561 a:=startangle; 562 startangle:=endangle; 567 a:=startangle; [all …]
|
/dports/games/palapeli/palapeli-21.12.3/slicers/goldberg/ |
H A D | goldberg-engine.cpp | 74 r.startangle=0; in initEdge() 93 r.startangle = nonuniform_rand(2, -35, m_sigma_curviness, skew); in reRandomizeEdge() 95 r.baseroundness = -dsin(fmin(r.startangle, r.endangle)); in reRandomizeEdge() 134 qreal a1 = b1end ? border1.endangle : border1.startangle; in smooth_join() 135 qreal a2 = b2end ? border2.endangle : border2.startangle; in smooth_join() 146 if (b1end) border1.endangle = a1; else border1.startangle = a1; in smooth_join() 147 if (b2end) border2.endangle = a2; else border2.startangle = a2; in smooth_join() 327 qreal r1y = ends_ctldist * params.basepos * dsin(params.startangle); in renderClassicPlug() 331 QPointF r1 = u_x.pointAt(ends_ctldist * params.basepos * dcos(params.startangle)) + in renderClassicPlug()
|
/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/ |
H A D | gl_clipper.c | 178 void gld_clipper_SafeAddClipRange(angle_t startangle, angle_t endangle) in gld_clipper_SafeAddClipRange() argument 180 if(startangle > endangle) in gld_clipper_SafeAddClipRange() 183 gld_clipper_AddClipRange(startangle, ANGLE_MAX); in gld_clipper_SafeAddClipRange() 189 gld_clipper_AddClipRange(startangle, endangle); in gld_clipper_SafeAddClipRange() 206 void gld_clipper_SafeAddClipRangeRealAngles(angle_t startangle, angle_t endangle) in gld_clipper_SafeAddClipRangeRealAngles() argument 209 gld_clipper_AngleToPseudo(startangle), in gld_clipper_SafeAddClipRangeRealAngles()
|
/dports/astro/starplot/starplot-0.95.5/src/gui/ |
H A D | gtkviewer.h | 72 double startangle, double endangle); // angles in radians 162 double startangle, double endangle) // angles in radians in drawarc() argument 167 ROUND(startangle * 64 / RAD_PER_DEGREE), in drawarc() 168 ROUND((endangle - startangle) * 64 / RAD_PER_DEGREE)); in drawarc()
|