Home
last modified time | relevance | path

Searched refs:ang1 (Results 1 – 25 of 493) sorted by relevance

12345678910>>...20

/dports/devel/ode/ode-0.13/tests/joints/
H A Duniversal.cpp253 dReal ang1, ang2; in SUITE() local
262 ang1 = d2r(REAL(23.0)); in SUITE()
296 ang1 = d2r(REAL(23.0)); in SUITE()
308 ang1 = d2r(REAL(0.0)); in SUITE()
319 ang1 = d2r(REAL(38.0)); in SUITE()
353 ang1 = d2r(REAL(23.0)); in SUITE()
365 ang1 = d2r(REAL(0.0)); in SUITE()
376 ang1 = d2r(REAL(38.0)); in SUITE()
491 dReal ang1 = REAL(0.0); in SUITE() local
1375 dReal ang1 = d2r(90); in SUITE() local
[all …]
/dports/cad/opencascade/opencascade-7.6.0/src/IntAna2d/
H A DIntAna2d_AnaIntersection_2.cxx69 Standard_Real ang1=Ox1.Angle(ax); // Resultat entre -PI et +PI in Perform() local
71 if (ang1<0) {ang1=2*M_PI+ang1;} // On revient entre 0 et 2PI in Perform()
72 lpnt[0].SetValue(XS,YS,ang1,ang2); in Perform()
105 Standard_Real ang1,ang2; in Perform() local
112 ang1=ACos(cost1); in Perform()
115 ang1=ASin(sint1); in Perform()
116 if (cost1<0.0) {ang1=M_PI-ang1;} in Perform()
125 Standard_Real ang11=ref1+ang1; in Perform()
127 Standard_Real ang12=ref1-ang1; in Perform()
169 if (ang1<0) {ang1=2*M_PI+ang1;} // On revient entre 0 et 2PI in Perform()
[all …]
/dports/games/xonotic/Xonotic/source/qcsrc/lib/
H A Dangle.qc22 float shortangle_f(float ang1, float ang2)
24 if(ang1 > ang2)
26 if(ang1 > 180)
27 return ang1 - 360;
31 if(ang1 < -180)
32 return ang1 + 360;
35 return ang1;
38 vector shortangle_v(vector ang1, vector ang2)
49 vector shortangle_vxy(vector ang1, vector ang2)
/dports/emulators/xbraitenberg/xbraitenberg-0.9/
H A Dlight.cc115 double ang1 = angle1(); in stimulus() local
116 while (ang1 < 0) ang1 += 2*M_PI; in stimulus()
119 while (beeline + fudge < ang1) beeline += 2*M_PI; in stimulus()
121 double left = (beeline < ang1 ? ang1 : beeline); in stimulus()
122 double right = (beeline+fudge < ang1+delta ? beeline+fudge : ang1+delta); in stimulus()
133 double ang1 = angle1(); in draw() local
137 view->fill_arc(_gc, pos, str, ang1, ang2); in draw()
139 view->draw_arc(_gc, pos, str+5, ang1, ang2); in draw()
141 view->draw_arc(_gc, pos, str+2, ang1, ang2); in draw()
/dports/devel/libarea/libarea-2752cd9/
H A DAreaBoolean.cpp56 double ang1,ang2,phit; in AddVertex() local
61 ang1=atan2(dy,dx); in AddVertex()
62 if (ang1<0) ang1+=2.0*M_PI; in AddVertex()
70 if (ang2 > ang1) in AddVertex()
71 phit=2.0*M_PI-ang2+ ang1; in AddVertex()
73 phit=ang1-ang2; in AddVertex()
77 if (ang1 > ang2) in AddVertex()
78 phit=-(2.0*M_PI-ang1+ ang2); in AddVertex()
80 phit=-(ang2-ang1); in AddVertex()
/dports/graphics/libprojectm/projectm-3.1.12/presets/presets_milkdrop_104/
H A DRedi Jedi - i was here till this came on.milk173 shape_0_per_frame32=ang1=0;
177 shape_0_per_frame36=ang=if(equal(ww,0),ang1,ang);
187 shape_0_per_frame46=ang1=0;
191 shape_0_per_frame50=ang=if(equal(ww,1),ang1,ang);
201 shape_0_per_frame60=ang1=0+am;
205 shape_0_per_frame64=ang=if(equal(ww,2),ang1,ang);
214 shape_0_per_frame73=ang1=0+am;
227 shape_0_per_frame86=ang1=0+am;
240 shape_0_per_frame99=ang1=0+am;
253 shape_0_per_frame112=ang1=0+am;
[all …]
/dports/science/openmx/openmx3.8/source/
H A Dunit2xyz.c22 static double la1,la2,la3,ang1,ang2,ang3; in main() local
29 scanf("%lf %lf %lf",&ang1,&ang2,&ang3); in main()
37 ang1 = PI*ang1/180.0; in main()
42 tvz[1] = (la1*cos(ang3)-tvx[1]*cos(ang1))/sin(ang1); in main()
44 tvx[2] = la2*cos(ang1); in main()
46 tvz[2] = la2*sin(ang1); in main()
/dports/devel/upp/upp/uppsrc/GLDraw/
H A DArc.cpp12 double ang1 = Direction((Pointf(end) - center) / radius); in GLArc() local
13 if(ang1 > ang2) in GLArc()
15 if(ang1 == ang2) in GLArc()
19 for(double a = ang1; a <= ang2 + M_PI / 200; a += M_PI / 200) in GLArc()
/dports/math/jts/jts-jts-1.18.1/modules/core/src/main/java/org/locationtech/jts/algorithm/
H A DAngle.java213 public static int getTurn(double ang1, double ang2) { in getTurn() argument
214 double crossproduct = Math.sin(ang2 - ang1); in getTurn()
288 public static double diff(double ang1, double ang2) { in diff() argument
291 if (ang1 < ang2) { in diff()
292 delAngle = ang2 - ang1; in diff()
294 delAngle = ang1 - ang2; in diff()
/dports/graphics/geos/geos-3.9.1/src/algorithm/
H A DAngle.cpp140 Angle::getTurn(double ang1, double ang2) in getTurn() argument
142 double crossproduct = sin(ang2 - ang1); in getTurn()
193 Angle::diff(double ang1, double ang2) in diff() argument
197 if(ang1 < ang2) { in diff()
198 delAngle = ang2 - ang1; in diff()
201 delAngle = ang1 - ang2; in diff()
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKv3/GKComponents/GKUI/Platform/
H A DEtoGfxProvider.cs172 …fxPath CreateCircleSegmentPath(float inRad, float extRad, float wedgeAngle, float ang1, float ang2) in CreateCircleSegmentPath() argument
180 result.Ang1 = ang1; in CreateCircleSegmentPath()
183 CreateCircleSegment(path, 0, 0, inRad, extRad, wedgeAngle, ang1, ang2); in CreateCircleSegmentPath()
189 float ang1, float ang2) in CreateCircleSegmentPath() argument
197 result.Ang1 = ang1; in CreateCircleSegmentPath()
200 CreateCircleSegment(path, ctX, ctY, inRad, extRad, wedgeAngle, ang1, ang2); in CreateCircleSegmentPath()
207 float ang1, float ang2) in CreateCircleSegment() argument
211 float angval1 = (float)(ang1 * Math.PI / 180.0f); in CreateCircleSegment()
232 if (ir2 > 0) path.AddArc(ctX - inRad, ctY - inRad, ir2, ir2, ang1, wedgeAngle); in CreateCircleSegment()
/dports/games/vavoom/vavoom-1.33/progs/common/linespec/
H A DSorcBall3.vc39 float ang1, ang2;
45 ang1 = AngleMod360(Angles.yaw - 45.0);
50 mo = Actor(Target).SpawnMissileAngle(SorcFX3, ang1, 4.0);
60 ang1 = ang2;
61 mo = Actor(Target).SpawnMissileAngle(SorcFX3, ang1, 4.0);
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKv2/GKComponents/GKUI/Platform/
H A DWFGfxProvider.cs163 …fxPath CreateCircleSegmentPath(float inRad, float extRad, float wedgeAngle, float ang1, float ang2) in CreateCircleSegmentPath() argument
171 result.Ang1 = ang1; in CreateCircleSegmentPath()
174 CreateCircleSegment(path, 0, 0, inRad, extRad, wedgeAngle, ang1, ang2); in CreateCircleSegmentPath()
180 float ang1, float ang2) in CreateCircleSegmentPath() argument
188 result.Ang1 = ang1; in CreateCircleSegmentPath()
191 CreateCircleSegment(path, ctX, ctY, inRad, extRad, wedgeAngle, ang1, ang2); in CreateCircleSegmentPath()
198 float ang1, float ang2) in CreateCircleSegment() argument
202 float angval1 = (float)(ang1 * Math.PI / 180.0f); in CreateCircleSegment()
223 if (ir2 > 0) path.AddArc(ctX - inRad, ctY - inRad, ir2, ir2, ang1, wedgeAngle); in CreateCircleSegment()
/dports/databases/grass7/grass-7.8.6/vector/v.in.dxf/
H A Dmake_arc.c80 float ang1, ang2; in make_arc_from_polyline() local
129 ang1 = (beta - half_alpha) / DEG_TO_RAD + 90.0; in make_arc_from_polyline()
136 ang1 = (beta - half_alpha) / DEG_TO_RAD + 180.0; in make_arc_from_polyline()
143 ang1 = (beta - half_alpha) / DEG_TO_RAD + 270.0; in make_arc_from_polyline()
151 ang1 = (beta - half_alpha) / DEG_TO_RAD; in make_arc_from_polyline()
157 -rad, ang2, ang1, zpnts[0]); in make_arc_from_polyline()
162 rad, ang1, ang2, zpnts[0]); in make_arc_from_polyline()
/dports/print/ghostscript7-base/ghostscript-7.07/src/
H A Dgspath1.c190 ang1 += fixed_180; in gs_imager_arc_add()
198 ang1r = fixed2float(ang1 % fixed_360); in gs_imager_arc_add()
203 while (ang1 < ang2) in gs_imager_arc_add()
208 ang1 += adjust, ang2 += adjust; in gs_imager_arc_add()
210 arc.angle = ang1; in gs_imager_arc_add()
211 if (ang1 == ang2) in gs_imager_arc_add()
233 while (ang2 < ang1) in gs_imager_arc_add()
235 if (ang1 < 0) { in gs_imager_arc_add()
238 ang1 += adjust, ang2 += adjust; in gs_imager_arc_add()
240 arc.angle = ang1; in gs_imager_arc_add()
[all …]
/dports/print/ghostscript7-x11/ghostscript-7.07/src/
H A Dgspath1.c190 ang1 += fixed_180; in gs_imager_arc_add()
198 ang1r = fixed2float(ang1 % fixed_360); in gs_imager_arc_add()
203 while (ang1 < ang2) in gs_imager_arc_add()
208 ang1 += adjust, ang2 += adjust; in gs_imager_arc_add()
210 arc.angle = ang1; in gs_imager_arc_add()
211 if (ang1 == ang2) in gs_imager_arc_add()
233 while (ang2 < ang1) in gs_imager_arc_add()
235 if (ang1 < 0) { in gs_imager_arc_add()
238 ang1 += adjust, ang2 += adjust; in gs_imager_arc_add()
240 arc.angle = ang1; in gs_imager_arc_add()
[all …]
/dports/science/chrono/chrono-7.0.1/src/chrono/geometry/
H A DChLineArc.cpp39 double ang1 = this->angle1; in Evaluate() local
42 if (ang2 < ang1) in Evaluate()
45 if (ang2 > ang1) in Evaluate()
48 double mangle = ang1 * (1 - parU) + ang2 * (parU); in Evaluate()
/dports/devel/goffice/goffice-0.10.50/goffice/canvas/
H A Dgoc-arc.c82 arc->ang1 = g_value_get_double (value); in goc_arc_set_property()
135 g_value_set_double (value, arc->ang1); in goc_arc_get_property()
170 x1 = arc->xr * cos (atan2 (arc->xr / arc->yr * sin (arc->ang1), cos (arc->ang1))); in goc_arc_start()
171 y1 = arc->yr * sin (atan2 (arc->xr / arc->yr * sin (arc->ang1), cos (arc->ang1))); in goc_arc_start()
174 (*x) = arc->xc + s * cos (arc->ang1 - arc->rotation) * sign; in goc_arc_start()
175 (*y) = arc->yc - s * sin (arc->ang1 - arc->rotation); in goc_arc_start()
281 if (0 == arc->xr || 0 == arc->yr || arc->ang1 == arc->ang2) in goc_arc_prepare_draw()
296 …cairo_arc_negative (cr, 0., 0., 1., -atan2 (ecc * sin (arc->ang1), cos (arc->ang1)), -atan2 (ecc *… in goc_arc_prepare_draw()
345 if (0 == arc->xr || 0 == arc->yr || arc->ang1 == arc->ang2) in goc_arc_distance()
423 dst->ang1 = src->ang1; in goc_arc_copy()
/dports/science/plumed/plumed2-2.7.2/regtest/basic/rt9/
H A Dplumed.dat1 ang1: ANGLE ATOMS=2,6,3
4 UPPER_WALLS ARG=ang1 AT=0.3 KAPPA=20.0 LABEL=uwall
9 ARG=ang1,ang2,*.bias,*.force2
/dports/lang/smalltalk/smalltalk-3.2.5/examples/
H A DCairoDemo.st49 | ang1 ang2 |
50 ang1 := 45 degreesToRadians.
54 stroke: [ context arcNegative: 128@128 radius: 100 from: ang1 to: ang2 ];
63 arc: 128@128 radius: 100 from: ang1 to: ang1;
71 | ang1 ang2 |
72 ang1 := 45 degreesToRadians.
76 stroke: [ context arc: 128@128 radius: 100 from: ang1 to: ang2 ];
83 arc: 128@128 radius: 100 from: ang1 to: ang1;
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/base/
H A Dgspath1.c218 ang1 += 180; in gs_gstate_arc_add()
226 ang1r = fmod(ang1, 360); in gs_gstate_arc_add()
231 while (ang1 < ang2) in gs_gstate_arc_add()
236 ang1 += adjust, ang2 += adjust; in gs_gstate_arc_add()
238 arc.angle = ang1; in gs_gstate_arc_add()
239 if (ang1 == ang2) in gs_gstate_arc_add()
261 while (ang2 < ang1) in gs_gstate_arc_add()
263 if (ang1 < 0) { in gs_gstate_arc_add()
266 ang1 += adjust, ang2 += adjust; in gs_gstate_arc_add()
268 arc.angle = ang1; in gs_gstate_arc_add()
[all …]
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/base/
H A Dgspath1.c218 ang1 += 180; in gs_gstate_arc_add()
226 ang1r = fmod(ang1, 360); in gs_gstate_arc_add()
231 while (ang1 < ang2) in gs_gstate_arc_add()
236 ang1 += adjust, ang2 += adjust; in gs_gstate_arc_add()
238 arc.angle = ang1; in gs_gstate_arc_add()
239 if (ang1 == ang2) in gs_gstate_arc_add()
261 while (ang2 < ang1) in gs_gstate_arc_add()
263 if (ang1 < 0) { in gs_gstate_arc_add()
266 ang1 += adjust, ang2 += adjust; in gs_gstate_arc_add()
268 arc.angle = ang1; in gs_gstate_arc_add()
[all …]
/dports/graphics/py-plotly/plotly-4.14.3/plotly/figure_factory/
H A D_quiver.py233 ang1 = [i + self.angle for i in barb_ang]
236 cos_ang1 = [None] * len(ang1)
237 for index in range(len(ang1)):
238 cos_ang1[index] = math.cos(ang1[index])
241 sin_ang1 = [None] * len(ang1)
242 for index in range(len(ang1)):
243 sin_ang1[index] = math.sin(ang1[index])
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/vsph/tests/
H A Dtest_sph_geom.cxx23 double ang1=0, ang2=0; in test_sph_geom() local
25 vsph_utils::half_angle(az_a, az_b, ang1, ang2, false); in test_sph_geom()
26 double haer0 = std::fabs(ang1-97.5)+std::fabs(ang2+82.5); in test_sph_geom()
29 vsph_utils::half_angle(az_a, az_b, ang1, ang2, false); in test_sph_geom()
30 double haer1 = std::fabs(ang1+97.5)+std::fabs(ang2-82.5); in test_sph_geom()
33 vsph_utils::half_angle(az_a, az_b, ang1, ang2, false); in test_sph_geom()
34 double haer2 = std::fabs(ang2+179.5)+std::fabs(ang1-0.5); in test_sph_geom()
37 vsph_utils::half_angle(az_a, az_b, ang1, ang2, false); in test_sph_geom()
38 double haer3 = std::fabs(ang2+179.5)+std::fabs(ang1-0.5); in test_sph_geom()
41 vsph_utils::half_angle(az_a, az_b, ang1, ang2, false); in test_sph_geom()
[all …]
/dports/astro/pykep/pykep-2.6/src/third_party/cspice/
H A Dzzgfspq.c35 doublereal pv1[3], pv2[3], ang1, ang2; in zzgfspq_() local
289 ang1 = dasine_(&d__1, &c_b12); in zzgfspq_()
295 ang1 = halfpi_(); in zzgfspq_()
311 *value = theta - ang1 - ang2; in zzgfspq_()

12345678910>>...20