Home
last modified time | relevance | path

Searched refs:angle2 (Results 101 – 125 of 2492) sorted by relevance

12345678910>>...100

/dports/x11-servers/xarcan/xarcan-0.6.0/mi/
H A Dmifillarc.c282 int angle1, angle2; in miFillArcSliceSetup() local
285 if (arc->angle2 < 0) { in miFillArcSliceSetup()
286 angle2 = angle1; in miFillArcSliceSetup()
290 angle2 = angle1 + arc->angle2; in miFillArcSliceSetup()
295 while (angle2 < 0) in miFillArcSliceSetup()
296 angle2 += FULLCIRCLE; in miFillArcSliceSetup()
298 angle2 -= FULLCIRCLE; in miFillArcSliceSetup()
361 if ((angle2 == 0) || (angle2 == HALFCIRCLE)) { in miFillArcSliceSetup()
365 else if ((angle2 == QUADRANT) || (angle2 == QUADRANT3)) { in miFillArcSliceSetup()
666 (-FULLCIRCLE < arc->angle2 && arc->angle2 < FULLCIRCLE)) in miPolyFillArc()
[all …]
/dports/x11-servers/xorg-nestserver/xorg-server-1.20.13/mi/
H A Dmifillarc.c282 int angle1, angle2; in miFillArcSliceSetup() local
285 if (arc->angle2 < 0) { in miFillArcSliceSetup()
286 angle2 = angle1; in miFillArcSliceSetup()
290 angle2 = angle1 + arc->angle2; in miFillArcSliceSetup()
295 while (angle2 < 0) in miFillArcSliceSetup()
296 angle2 += FULLCIRCLE; in miFillArcSliceSetup()
298 angle2 -= FULLCIRCLE; in miFillArcSliceSetup()
361 if ((angle2 == 0) || (angle2 == HALFCIRCLE)) { in miFillArcSliceSetup()
365 else if ((angle2 == QUADRANT) || (angle2 == QUADRANT3)) { in miFillArcSliceSetup()
666 (-FULLCIRCLE < arc->angle2 && arc->angle2 < FULLCIRCLE)) in miPolyFillArc()
[all …]
/dports/x11-servers/xwayland-devel/xorg-xserver-xorg-server-21.0.99.1-177-g9e5a37961/mi/
H A Dmifillarc.c282 int angle1, angle2; in miFillArcSliceSetup() local
285 if (arc->angle2 < 0) { in miFillArcSliceSetup()
286 angle2 = angle1; in miFillArcSliceSetup()
290 angle2 = angle1 + arc->angle2; in miFillArcSliceSetup()
295 while (angle2 < 0) in miFillArcSliceSetup()
296 angle2 += FULLCIRCLE; in miFillArcSliceSetup()
298 angle2 -= FULLCIRCLE; in miFillArcSliceSetup()
361 if ((angle2 == 0) || (angle2 == HALFCIRCLE)) { in miFillArcSliceSetup()
365 else if ((angle2 == QUADRANT) || (angle2 == QUADRANT3)) { in miFillArcSliceSetup()
666 (-FULLCIRCLE < arc->angle2 && arc->angle2 < FULLCIRCLE)) in miPolyFillArc()
[all …]
/dports/cad/geda/geda-gaf-1.8.2/gschem/src/
H A Do_box.c65 gint angle2, gint pitch2) in o_box_fill_hollow() argument
95 gint angle2, gint pitch2) in o_box_fill_fill() argument
131 gint angle2, gint pitch2) in o_box_fill_hatch() argument
180 gint angle2, gint pitch2) in o_box_fill_mesh() argument
202 int angle1, pitch1, angle2, pitch2; in o_box_draw() local
256 angle2 = o_current->fill_angle2; in o_box_draw()
261 angle1 = -1; angle2 = -1; in o_box_draw()
272 angle1 = -1; angle2 = -1; in o_box_draw()
282 angle2 = -1; in o_box_draw()
289 angle1 = -1; angle2 = -1; in o_box_draw()
[all …]
/dports/lang/ptoc/ptoc/Xbgi/
H A Dsector.c17 int angle2; in sector() local
24 angle2 = endangle * 64; in sector()
25 angle2 -= angle1; in sector()
30 angle2); in sector()
33 angle1, angle2); in sector()
H A Darc.c23 int angle2; in arc() local
31 angle2 = endangle * 64; /* of a degree in X11 */ in arc()
32 angle2 -= angle1; in arc()
37 XDrawArc(dpy, drawable, gc, X, Y, diameter, diameter, angle1, angle2); in arc()
51 angle2); in arc()
H A Dellipse.c19 int angle2; in ellipse() local
28 angle2 = endangle * 64; /* of a degree in X11 */ in ellipse()
29 angle2 -= angle1; in ellipse()
35 XDrawArc(dpy, drawable, gc, X, Y, major, minor, angle1, angle2); in ellipse()
37 XDrawArc(dpy, window, gc, X, Y, major, minor, angle1, angle2); in ellipse()
/dports/science/chrono/chrono-7.0.1/src/chrono/geometry/
H A DChLineArc.cpp28 …: origin(morigin), radius(mradius), angle1(mangle1), angle2(mangle2), counterclockwise(mcounterclo… in CH_FACTORY_REGISTER()
34 angle2 = source.angle2; in ChLineArc()
40 double ang2 = this->angle2; in Evaluate()
62 marchive << CHNVP(angle2); in ArchiveOUT()
75 marchive >> CHNVP(angle2); in ArchiveIN()
/dports/graphics/qgis/qgis-3.22.3/python/plugins/processing/algs/qgis/
H A DKNearestConcaveHull.py294 def angle_difference(angle1, angle2): argument
302 if (angle1 > 0 and angle2 >= 0) and angle1 > angle2:
303 return abs(angle1 - angle2)
304 elif (angle1 >= 0 and angle2 > 0) and angle1 < angle2:
305 return 2 * math.pi + angle1 - angle2
306 elif (angle1 < 0 and angle2 <= 0) and angle1 < angle2:
308 elif (angle1 <= 0 and angle2 < 0) and angle1 > angle2:
309 return abs(angle1 - angle2)
310 elif angle1 <= 0 < angle2:
312 elif angle1 >= 0 >= angle2:
[all …]
/dports/graphics/qgis-ltr/qgis-3.16.16/python/plugins/processing/algs/qgis/
H A DKNearestConcaveHull.py294 def angle_difference(angle1, angle2): argument
302 if (angle1 > 0 and angle2 >= 0) and angle1 > angle2:
303 return abs(angle1 - angle2)
304 elif (angle1 >= 0 and angle2 > 0) and angle1 < angle2:
305 return 2 * math.pi + angle1 - angle2
306 elif (angle1 < 0 and angle2 <= 0) and angle1 < angle2:
308 elif (angle1 <= 0 and angle2 < 0) and angle1 > angle2:
309 return abs(angle1 - angle2)
310 elif angle1 <= 0 < angle2:
312 elif angle1 >= 0 >= angle2:
[all …]
/dports/games/alienarena/alienarena-7.66/source/ref_gl/
H A Dr_vlights.c63 float angle1, angle2, light; in VLight_GetLightValue() local
69 angle2 = 0; in VLight_GetLightValue()
79 angle2 = atan2( normal[1], normal[0] ) * ( 180.0f / M_PI ); in VLight_GetLightValue()
80 if (angle2 < 0) in VLight_GetLightValue()
81 angle2 += 360; in VLight_GetLightValue()
90 yawofs = ( angle2 + ayaw ) * VLIGHT_GRIDSIZE_Y / 360; in VLight_GetLightValue()
/dports/games/alienarena-data/alienarena-7.66/source/ref_gl/
H A Dr_vlights.c63 float angle1, angle2, light; in VLight_GetLightValue() local
69 angle2 = 0; in VLight_GetLightValue()
79 angle2 = atan2( normal[1], normal[0] ) * ( 180.0f / M_PI ); in VLight_GetLightValue()
80 if (angle2 < 0) in VLight_GetLightValue()
81 angle2 += 360; in VLight_GetLightValue()
90 yawofs = ( angle2 + ayaw ) * VLIGHT_GRIDSIZE_Y / 360; in VLight_GetLightValue()
/dports/science/simbody/simbody-Simbody-3.7/SimTKcommon/tests/
H A DRotationTest.cpp326 Rotation BC( angle2, axis2 ); in testRotationTwoAxes()
359 Rotation BC( angle2, axis2 ); in testRotationThreeAxes()
406 bool angle2InProperRange = ( -SimTK_PI <= angle2 && angle2 <= SimTK_PI ); in testInverseRotation2Angle()
409 test = test && fabs( angle2 - theta2 ) < 10*SignificantReal; in testInverseRotation2Angle()
419 bool angle2InProperRange = ( 0 <= angle2 && angle2 <= SimTK_PI ); in testInverseRotation3AngleTwoAxes()
423 test = test && fabs( angle2 - theta2 ) < 10*SignificantReal; in testInverseRotation3AngleTwoAxes()
428 if( test == false && fabs(angle2-singularity) <= SignificantReal ) { in testInverseRotation3AngleTwoAxes()
434 test = fabs( angle2 - theta2 ) < 10*SignificantReal; in testInverseRotation3AngleTwoAxes()
447 bool angle2InProperRange = (-0.5*SimTK_PI <= angle2 && angle2 <= 0.5*SimTK_PI ); in testInverseRotation3AngleThreeAxes()
451 test = test && fabs( angle2 - theta2 ) < 10*SignificantReal; in testInverseRotation3AngleThreeAxes()
[all …]
/dports/net/tightvnc/vnc_unixsrc/Xvnc/programs/Xserver/mi/
H A Dmifillarc.c323 if (arc->angle2 < 0)
325 angle2 = angle1;
326 angle1 += arc->angle2;
329 angle2 = angle1 + arc->angle2;
334 while (angle2 < 0)
335 angle2 += FULLCIRCLE;
337 angle2 -= FULLCIRCLE;
366 if (angle2 < angle1)
411 if ((angle2 == 0) || (angle2 == HALFCIRCLE))
416 else if ((angle2 == QUADRANT) || (angle2 == QUADRANT3))
[all …]
/dports/graphics/libprojectm/projectm-3.1.12/presets/presets_tryptonaut/
H A DORB - Waaa.milk105 wave_0_per_point18=angle2 = q1*0.11;
106 wave_0_per_point19=xd = xx*cos(angle2) - zx*sin(angle2);
107 wave_0_per_point20=zd = xx*sin(angle2) + zx*cos(angle2);
153 wave_1_per_point18=angle2 = q1*0.13;
154 wave_1_per_point19=xd = xx*cos(angle2) - zx*sin(angle2);
155 wave_1_per_point20=zd = xx*sin(angle2) + zx*cos(angle2);
201 wave_2_per_point18=angle2 = q1*0.16;
202 wave_2_per_point19=xd = xx*cos(angle2) - zx*sin(angle2);
203 wave_2_per_point20=zd = xx*sin(angle2) + zx*cos(angle2);
250 wave_3_per_point19=xd = xx*cos(angle2) - zx*sin(angle2);
[all …]
/dports/graphics/libprojectm/projectm-3.1.12/presets/presets_milkdrop_200/
H A DORB - Fire and Fumes 2.milk95 wave_0_per_point18=angle2 = q1*0.11;
96 wave_0_per_point19=xd = xx*cos(angle2) - zx*sin(angle2);
97 wave_0_per_point20=zd = xx*sin(angle2) + zx*cos(angle2);
144 wave_1_per_point18=angle2 = q1*0.13;
145 wave_1_per_point19=xd = xx*cos(angle2) - zx*sin(angle2);
146 wave_1_per_point20=zd = xx*sin(angle2) + zx*cos(angle2);
193 wave_2_per_point18=angle2 = q1*0.16;
194 wave_2_per_point19=xd = xx*cos(angle2) - zx*sin(angle2);
195 wave_2_per_point20=zd = xx*sin(angle2) + zx*cos(angle2);
243 wave_3_per_point19=xd = xx*cos(angle2) - zx*sin(angle2);
[all …]
/dports/graphics/tgif/tgif-QPL-4.2.5/
H A Darc.c104 angle1, angle2) in PointsToArc() argument
136 if (angle2 != NULL) *angle2 = (d_theta<<6);
154 if (angle2 != NULL) *angle2 = (int)(d_theta*64.0);
209 angle1 = a_angle1 = arc_ptr->angle1; angle2 = a_angle2 = arc_ptr->angle2;
660 angle2 = -round(((double)arc_ptr->angle2)/64.0) + angle1;
792 angle = angle2;
793 angle2 = angle1;
1127 angle2 = arc_ptr->angle2;
1266 arc_ptr->angle2 = arc_ptr->a_angle2 = angle2;
2102 arc_ptr->angle2 = arc_ptr->a_angle2 = angle2;
[all …]
/dports/math/ngraph/Ngraph-6.3.54-src/src/
H A Doarc.c63 int angle2,width,pieslice; in arcinit() local
66 angle2=36000; in arcinit()
102 _getobj(obj,"angle2",inst,&angle2); in arcdraw()
114 GRAcircle(GC,x,y,rx,ry,angle1,angle2,0); in arcdraw()
154 int x0,y0,angle1,angle2,rx,ry,pieslice,fill; in arcbbox() local
165 _getobj(obj,"angle2",inst,&angle2); in arcbbox()
169 angle2+=angle1; in arcbbox()
170 if (angle2<angle1) angle2+=36000; in arcbbox()
179 x=x0+rx*cos(angle2*MPI/18000); in arcbbox()
180 y=y0-ry*sin(angle2*MPI/18000); in arcbbox()
[all …]
/dports/print/texlive-base/texlive-20150521-source/texk/dvisvgm/dvisvgm-1.9.2/src/
H A DTpicSpecialHandler.cpp186 …awArc (double cx, double cy, double rx, double ry, double angle1, double angle2, SpecialActions *a… in drawArc() argument
190 angle2 *= -1; in drawArc()
194 angle2 = angle2 - n*PI2; in drawArc()
200 if (fabs(angle1-angle2) >= PI2) { // closed ellipse? in drawArc()
210 if (angle2 < 0) in drawArc()
211 angle2 = PI2+angle2; in drawArc()
213 int large_arg = fabs(angle1-angle2) > M_PI ? 0 : 1; in drawArc()
214 int sweep_flag = angle1 > angle2 ? 0 : 1; in drawArc()
215 if (angle1 > angle2) { in drawArc()
224 << XMLString(x+rx*cos(angle2)) << ',' << XMLString(y-ry*sin(angle2)); in drawArc()
/dports/astro/py-astropy/astropy-5.0/astropy/coordinates/tests/
H A Dtest_formatting.py24 angle2 = Angle(-1.23456789, unit=u.hourangle)
26 assert angle2.to_string(precision=3, unit=u.hour) == '-1h14m04.444s'
27 assert angle2.to_string(precision=1, unit=u.hour) == '-1h14m04.4s'
28 assert angle2.to_string(precision=0, unit=u.hour) == '-1h14m04s'
49 angle2 = Angle(3., unit=u.hourangle)
51 assert angle2.to_string(decimal=True, precision=3) == '3.000'
52 assert angle2.to_string(decimal=True, precision=1) == '3.0'
53 assert angle2.to_string(decimal=True, precision=0) == '3'
/dports/cad/opencascade/opencascade-7.6.0/src/Geom2dGcc/
H A DGeom2dGcc_Circ2d2TanOnIter.cxx119 Standard_Real angle2; in Geom2dGcc_Circ2d2TanOnIter() local
123 else { angle2 = 0.; } in Geom2dGcc_Circ2d2TanOnIter()
236 else { angle2 = 0.; } in Geom2dGcc_Circ2d2TanOnIter()
426 Standard_Real angle2; in Geom2dGcc_Circ2d2TanOnIter() local
430 else { angle2 = 0.; } in Geom2dGcc_Circ2d2TanOnIter()
534 Standard_Real angle2; in Geom2dGcc_Circ2d2TanOnIter() local
538 else { angle2 = 0.; } in Geom2dGcc_Circ2d2TanOnIter()
641 Standard_Real angle2; in Geom2dGcc_Circ2d2TanOnIter() local
645 else { angle2 = 0.; } in Geom2dGcc_Circ2d2TanOnIter()
759 else { angle2 = 0.; } in Geom2dGcc_Circ2d2TanOnIter()
[all …]
/dports/graphics/py-pyx/PyX-0.15/pyx/
H A Dpath.py124 phi2 = radians(angle2)
608 self.angle2 = angle2
665 angle2 = self.angle2
668 if angle2 < angle1:
669 angle2 += (math.floor((angle1-angle2)/360)+1)*360
670 elif angle2 > angle1 + 360:
671 angle2 -= (math.floor((angle2-angle1)/360)-1)*360
702 self.angle2 = angle2
762 angle2 = self.angle2
765 if angle1 < angle2:
[all …]
/dports/cad/librecad/LibreCAD-2.2.0-rc2/librecad/src/actions/
H A Drs_actiondrawarc.cpp130 data->angle2 = RS_Math::correctAngle(data->angle1-M_PI/3); in mouseMoveEvent()
132 data->angle2 = RS_Math::correctAngle(data->angle1+M_PI/3); in mouseMoveEvent()
141 data->angle2 = data->center.angleTo(mouse); in mouseMoveEvent()
149 data->angle2 = data->angle1 + data->center.angleTo(mouse); in mouseMoveEvent()
159 data->angle2 = data->angle1 + asin(x/(2*data->radius)) * 2; in mouseMoveEvent()
215 data->angle2 = data->center.angleTo(mouse); in coordinateEvent()
220 data->angle2 = data->angle1 + data->center.angleTo(mouse); in coordinateEvent()
227 data->angle2 = data->angle1 + asin(x/(2*data->radius)) * 2; in coordinateEvent()
292 data->angle2 = RS_Math::deg2rad(a); in commandEvent()
305 data->angle2 = data->angle1 + RS_Math::deg2rad(a); in commandEvent()
[all …]
/dports/math/plplot-ada/plplot-5.15.0/src/
H A Dplarc.c31 void plarc_approx( PLFLT x, PLFLT y, PLFLT a, PLFLT b, PLFLT angle1, PLFLT angle2, PLFLT rotate, PL…
51 plarc_approx( PLFLT x, PLFLT y, PLFLT a, PLFLT b, PLFLT angle1, PLFLT angle2, PLFLT rotate, PLBOOL …
60 d_angle = DEG_TO_RAD( angle2 - angle1 );
141 c_plarc( PLFLT x, PLFLT y, PLFLT a, PLFLT b, PLFLT angle1, PLFLT angle2, PLFLT rotate, PLBOOL fill ) in plP_affine_rotate()
164 arc_info->angle2 = angle2; in plP_affine_rotate()
174 plarc_approx( x, y, a, b, angle1, angle2, rotate, fill ); in plP_affine_rotate()
/dports/math/plplot/plplot-5.15.0/src/
H A Dplarc.c31 void plarc_approx( PLFLT x, PLFLT y, PLFLT a, PLFLT b, PLFLT angle1, PLFLT angle2, PLFLT rotate, PL…
51 plarc_approx( PLFLT x, PLFLT y, PLFLT a, PLFLT b, PLFLT angle1, PLFLT angle2, PLFLT rotate, PLBOOL … in plarc_approx() argument
60 d_angle = DEG_TO_RAD( angle2 - angle1 ); in plarc_approx()
141 c_plarc( PLFLT x, PLFLT y, PLFLT a, PLFLT b, PLFLT angle1, PLFLT angle2, PLFLT rotate, PLBOOL fill ) in c_plarc() argument
164 arc_info->angle2 = angle2; in c_plarc()
174 plarc_approx( x, y, a, b, angle1, angle2, rotate, fill ); in c_plarc()

12345678910>>...100