Home
last modified time | relevance | path

Searched refs:degrees (Results 101 – 125 of 14786) sorted by relevance

12345678910>>...592

/dports/www/ilias6/ILIAS-6.14/libs/bower/bower_components/yui2/src/charts/as/com/yahoo/astra/utils/
H A DGeomUtil.as11 * Converts an angle from radians to degrees.
14 * @return The angle in degrees
22 * Converts an angle from degrees to radians.
24 * @param degrees The angle in degrees
27 public static function degreesToRadians(degrees:Number):Number
29 return degrees * Math.PI / 180;
/dports/science/chrono/chrono-7.0.1/src/chrono_opengl/
H A DChOpenGLCamera.cpp148 void ChOpenGLCamera::ChangePitch(float degrees) { in ChangePitch() argument
150 if (degrees < -max_pitch_rate) { in ChangePitch()
151 degrees = -max_pitch_rate; in ChangePitch()
152 } else if (degrees > max_pitch_rate) { in ChangePitch()
153 degrees = max_pitch_rate; in ChangePitch()
155 camera_pitch += degrees * camera_mouse_scale; in ChangePitch()
164 void ChOpenGLCamera::ChangeHeading(float degrees) { in ChangeHeading() argument
166 if (degrees < -max_heading_rate) { in ChangeHeading()
167 degrees = -max_heading_rate; in ChangeHeading()
168 } else if (degrees > max_heading_rate) { in ChangeHeading()
[all …]
/dports/deskutils/lumina-pdf/lumina-pdf-645ed591ef91c3607d3ab87dd86f7acfd08b05c9/src-qt5/
H A DRenderer.h30 int degrees; variable
46 virtual int rotatedDegrees() { return degrees; } in rotatedDegrees()
51 virtual void renderPage(int pagenum, QSize DPI, int degrees = 0);
64 void setDegrees(int degrees) { in setDegrees() argument
66 this->degrees = (((this->degrees + degrees) % 360) + 360) % 360; in setDegrees()
67 emit reloadPages(this->degrees); in setDegrees()
/dports/graphics/clutter/clutter-1.26.4/examples/
H A Drounded-rectangle.c27 double degrees = M_PI / 180.0; in draw_content() local
35 cairo_arc (cr, x + width - radius, y + radius, radius, -90 * degrees, 0 * degrees); in draw_content()
36 cairo_arc (cr, x + width - radius, y + height - radius, radius, 0 * degrees, 90 * degrees); in draw_content()
37 cairo_arc (cr, x + radius, y + height - radius, radius, 90 * degrees, 180 * degrees); in draw_content()
38 cairo_arc (cr, x + radius, y + radius, radius, 180 * degrees, 270 * degrees); in draw_content()
/dports/x11-wm/muffin/muffin-4.8.0/clutter/examples/
H A Drounded-rectangle.c27 double degrees = M_PI / 180.0; in draw_content() local
35 cairo_arc (cr, x + width - radius, y + radius, radius, -90 * degrees, 0 * degrees); in draw_content()
36 cairo_arc (cr, x + width - radius, y + height - radius, radius, 0 * degrees, 90 * degrees); in draw_content()
37 cairo_arc (cr, x + radius, y + height - radius, radius, 90 * degrees, 180 * degrees); in draw_content()
38 cairo_arc (cr, x + radius, y + radius, radius, 180 * degrees, 270 * degrees); in draw_content()
/dports/net/openmpi/openmpi-4.1.1/ompi/mpi/fortran/mpif-h/
H A Ddist_graph_create_f.c39 …(MPI_Fint *comm_old, MPI_Fint *n, MPI_Fint *sources, MPI_Fint *degrees, MPI_Fint *destinations, MP…
40 … (comm_old, n, sources, degrees, destinations, weights, info, reorder, comm_graph, ierr) )
59 …(MPI_Fint *comm_old, MPI_Fint *n, MPI_Fint *sources, MPI_Fint *degrees, MPI_Fint *destinations, MP…
60 … (comm_old, n, sources, degrees, destinations, weights, info, reorder, comm_graph, ierr) )
70 MPI_Fint *degrees, MPI_Fint *destinations, MPI_Fint *weights, in ompi_dist_graph_create_f() argument
81 OMPI_ARRAY_NAME_DECL(degrees); in ompi_dist_graph_create_f()
87 OMPI_ARRAY_FINT_2_INT(degrees, *n); in ompi_dist_graph_create_f()
89 count += OMPI_ARRAY_NAME_CONVERT(degrees)[i]; in ompi_dist_graph_create_f()
103 … OMPI_ARRAY_NAME_CONVERT(degrees), OMPI_ARRAY_NAME_CONVERT(destinations), in ompi_dist_graph_create_f()
111 OMPI_ARRAY_FINT_2_INT_CLEANUP(degrees); in ompi_dist_graph_create_f()
/dports/net/openmpi3/openmpi-3.1.6/ompi/mpi/fortran/mpif-h/
H A Ddist_graph_create_f.c39 …(MPI_Fint *comm_old, MPI_Fint *n, MPI_Fint *sources, MPI_Fint *degrees, MPI_Fint *destinations, MP…
40 … (comm_old, n, sources, degrees, destinations, weights, info, reorder, comm_graph, ierr) )
59 …(MPI_Fint *comm_old, MPI_Fint *n, MPI_Fint *sources, MPI_Fint *degrees, MPI_Fint *destinations, MP…
60 … (comm_old, n, sources, degrees, destinations, weights, info, reorder, comm_graph, ierr) )
70 MPI_Fint *degrees, MPI_Fint *destinations, MPI_Fint *weights, in ompi_dist_graph_create_f() argument
80 OMPI_ARRAY_NAME_DECL(degrees); in ompi_dist_graph_create_f()
86 OMPI_ARRAY_FINT_2_INT(degrees, *n); in ompi_dist_graph_create_f()
88 count += OMPI_ARRAY_NAME_CONVERT(degrees)[i]; in ompi_dist_graph_create_f()
102 … OMPI_ARRAY_NAME_CONVERT(degrees), OMPI_ARRAY_NAME_CONVERT(destinations), in ompi_dist_graph_create_f()
109 OMPI_ARRAY_FINT_2_INT_CLEANUP(degrees); in ompi_dist_graph_create_f()
/dports/security/keybase/client-v5.7.1/shared/fs/common/
H A Dpie-slice.tsx6 degrees: number
16 ? {transform: [{rotate: props.degrees + 'deg'}]}
17 : {transform: 'rotate(' + props.degrees + 'deg)'}
26 … props.degrees <= 180 ? [styles.leftUnfilled, styleUnfilled] : [styles.rightFilled, styleFilled]
35 <Kb.Animated to={{degrees: props.degrees}}>
36 …{({degrees}) => <PieSliceDefault degrees={degrees} style={props.style} negative={props.negative} /…
39 <PieSliceDefault degrees={props.degrees} style={props.style} negative={props.negative} />
/dports/science/py-obspy/obspy-1.2.2/obspy/taup/
H A Dtaup_path.py17 def calculate(self, degrees): argument
24 self.calculate_path(degrees)
26 def calculate_path(self, degrees): argument
32 self.degrees = degrees
34 self.arrivals += phase.calc_path(degrees)
/dports/astro/p5-Astro-Coords/Astro-Coords-0.20/t/
H A Dangle.t25 delta_ok( $ang->degrees, 45, "render back in degrees");
34 delta_ok($ang->negate()->degrees(), -45, 'negation');
38 delta_ok($ang2->degrees, $ang->degrees, "compare deg to string to deg");
42 delta_ok($ang->degrees, 180, "compare sexagesimal hour to deg ($ang)");
46 delta_ok($ang->degrees, 180, "compare hour to deg");
61 delta_ok($ang3->degrees, 45, "Check 45 deg without units");
64 delta_ok($ang4->degrees, 45, "Check 45:00:00 deg without units");
/dports/astro/gpsd/gpsd-3.20/gps/
H A Dclienthelpers.py754 def deg_to_str(fmt, degrees): argument
757 degrees = float(degrees)
761 if _non_finite(degrees):
764 if degrees >= 360:
765 degrees -= 360
766 if not math.fabs(degrees) <= 360:
770 degrees += 1.0e-9
771 return '%12.8f' % degrees
773 degrees += 1.0e-8 / 36.0
774 (fmin, fdeg) = math.modf(degrees)
/dports/graphics/pho/pho/
H A Dpho.c325 degrees = (degrees + 360) % 360; in ScaleAndRotate()
496 degrees = (degrees + img->curRot + 360) % 360; in ScaleAndRotate()
503 else if (degrees % 180 != 0) { in ScaleAndRotate()
517 if (degrees != 0 && in ScaleAndRotate()
520 RotateImage(img, degrees); in ScaleAndRotate()
564 if (degrees != 0) in ScaleAndRotate()
565 RotateImage(img, degrees); in ScaleAndRotate()
635 degrees = (degrees + 360) % 360; in RotateImage()
638 if (degrees == 0) { in RotateImage()
643 if (degrees == 90 || degrees == 270) in RotateImage()
[all …]
/dports/math/py-python-louvain/python-louvain-0.15/community/
H A Dcommunity_status.py13 degrees = {} variable in Status
19 self.degrees = dict([])
26 + str(self.degrees) + " internals : " + str(self.internals)
34 new_status.degrees = self.degrees.copy()
43 self.degrees = dict([])
54 self.degrees[count] = deg
65 self.degrees[com] = self.degrees.get(com, 0) + deg
/dports/audio/zrythm/zrythm-1.0.0-alpha.26.0.13/inc/utils/
H A Dcairo.h113 double degrees = G_PI / 180.0; in z_cairo_rounded_rectangle() local
116 cairo_arc (cr, x + width - radius, y + radius, radius, -90 * degrees, 0 * degrees); in z_cairo_rounded_rectangle()
117 cairo_arc (cr, x + width - radius, y + height - radius, radius, 0 * degrees, 90 * degrees); in z_cairo_rounded_rectangle()
118 cairo_arc (cr, x + radius, y + height - radius, radius, 90 * degrees, 180 * degrees); in z_cairo_rounded_rectangle()
119 cairo_arc (cr, x + radius, y + radius, radius, 180 * degrees, 270 * degrees); in z_cairo_rounded_rectangle()
/dports/astro/py-skyfield/skyfield-1.41/skyfield/tests/
H A Dtest_positions.py63 assert lat2.degrees[0] == lat0.degrees
64 assert lat2.degrees[1] == lat1.degrees
66 assert lon2.degrees[0] == lon0.degrees
67 assert lon2.degrees[1] == lon1.degrees
86 assert lat2.degrees[0] == lat0.degrees
87 assert lat2.degrees[1] == lat1.degrees
89 assert lon2.degrees[0] == lon0.degrees
90 assert lon2.degrees[1] == lon1.degrees
139 assert abs(dec.degrees) < 1e-12
/dports/graphics/s2/s2geometry-0.9.0/src/s2/
H A Ds1angle_test.cc46 EXPECT_EQ(180.0, S1Angle::Radians(M_PI).degrees()); in TEST()
48 EXPECT_EQ(180.0, S1Angle::Degrees(180).degrees()); in TEST()
50 EXPECT_EQ(90.0, S1Angle::Radians(M_PI_2).degrees()); in TEST()
53 EXPECT_EQ(-90.0, S1Angle::Radians(-M_PI_2).degrees()); in TEST()
87 EXPECT_DOUBLE_EQ(0.0, S1Angle::Degrees(360.0).Normalized().degrees()); in TEST()
88 EXPECT_DOUBLE_EQ(-90.0, S1Angle::Degrees(-90.0).Normalized().degrees()); in TEST()
90 EXPECT_DOUBLE_EQ(180.0, S1Angle::Degrees(180.0).Normalized().degrees()); in TEST()
91 EXPECT_DOUBLE_EQ(180.0, S1Angle::Degrees(540.0).Normalized().degrees()); in TEST()
131 S2LatLng::FromDegrees(70, 20)).degrees(), in TEST()
172 EXPECT_EQ(45 * k, S1Angle::Degrees(45 * k).degrees()); in TEST()
[all …]
/dports/graphics/py-s2/s2geometry-0.9.0/src/s2/
H A Ds1angle_test.cc46 EXPECT_EQ(180.0, S1Angle::Radians(M_PI).degrees()); in TEST()
48 EXPECT_EQ(180.0, S1Angle::Degrees(180).degrees()); in TEST()
50 EXPECT_EQ(90.0, S1Angle::Radians(M_PI_2).degrees()); in TEST()
53 EXPECT_EQ(-90.0, S1Angle::Radians(-M_PI_2).degrees()); in TEST()
87 EXPECT_DOUBLE_EQ(0.0, S1Angle::Degrees(360.0).Normalized().degrees()); in TEST()
88 EXPECT_DOUBLE_EQ(-90.0, S1Angle::Degrees(-90.0).Normalized().degrees()); in TEST()
90 EXPECT_DOUBLE_EQ(180.0, S1Angle::Degrees(180.0).Normalized().degrees()); in TEST()
91 EXPECT_DOUBLE_EQ(180.0, S1Angle::Degrees(540.0).Normalized().degrees()); in TEST()
131 S2LatLng::FromDegrees(70, 20)).degrees(), in TEST()
172 EXPECT_EQ(45 * k, S1Angle::Degrees(45 * k).degrees()); in TEST()
[all …]
/dports/x11-wm/enlightenment/enlightenment-0.24.2/src/bin/efx/
H A Defx_rotate.c9 double degrees; member
26 double degrees; in _rotate_cb() local
30 degrees = ecore_animator_pos_map(pos, (Ecore_Pos_Map)erd->speed, 0, 0); in _rotate_cb()
31 erd->e->map_data.rotation = degrees * erd->degrees + erd->start_degrees; in _rotate_cb()
83 e_efx_rotate(Evas_Object *obj, E_Efx_Effect_Speed speed, double degrees, const Evas_Point *center, … in e_efx_rotate() argument
89 if (eina_dbl_exact(degrees, 0)) return EINA_FALSE; in e_efx_rotate()
110 INF("rotate: %p - %g degrees over %gs: %s", obj, degrees, total_time, e_efx_speed_str[speed]); in e_efx_rotate()
120 erd->degrees = degrees; in e_efx_rotate()
126 e->map_data.rotation += degrees; in e_efx_rotate()
/dports/math/gap/gap-4.11.0/pkg/GradedModules-2020.01.02/gap/
H A DLIGrMOD.gi460 degrees := List( degrees, i -> List( i, HomalgElementToInteger ) );
479 if degrees[1] <> [ ] then
557 return degrees[Length(degrees)];
911 local R, weights, degrees;
921 degrees := List( degrees, HomalgElementToInteger );
964 local R, weights, degrees;
974 degrees := List( degrees, HomalgElementToInteger );
1519 l := Length( degrees );
1525 degrees := [ ];
1595 l := Length( degrees );
[all …]
/dports/math/py-Pyomo/Pyomo-6.1.2/pyomo/contrib/appsi/cmodel/src/
H A Dexpression.cpp544degrees[index] = operand1->get_degree_from_array(degrees) + operand2->get_degree_from_array(degree… in propagate_degree_forward()
550degrees[index] = std::max(operand1->get_degree_from_array(degrees), operand2->get_degree_from_arra… in propagate_degree_forward()
556degrees[index] = std::max(operand1->get_degree_from_array(degrees), operand2->get_degree_from_arra… in propagate_degree_forward()
563degrees[index] = std::max(operand1->get_degree_from_array(degrees), 3*(operand2->get_degree_from_a… in propagate_degree_forward()
571 degrees[index] = 3; in propagate_degree_forward()
579 degrees[index] = operand1->get_degree_from_array(degrees) * (int)val2; in propagate_degree_forward()
583 degrees[index] = 3; in propagate_degree_forward()
591 degrees[index] = operand->get_degree_from_array(degrees); in propagate_degree_forward()
599 degrees[index] = 0; in propagate_degree_forward()
603 degrees[index] = 3; in propagate_degree_forward()
[all …]
/dports/net/ns3/ns-allinone-3.35/ns-3.35/src/antenna/model/
H A Dangles.cc38 DegreesToRadians (double degrees) in DegreesToRadians() argument
40 return degrees * DEG_TO_RAD; in DegreesToRadians()
52 DegreesToRadians (const std::vector<double> &degrees) in DegreesToRadians() argument
55 radians.reserve (degrees.size ()); in DegreesToRadians()
56 for (size_t i = 0; i < degrees.size (); i++) in DegreesToRadians()
58 radians.push_back (DegreesToRadians (degrees[i])); in DegreesToRadians()
68 std::vector<double> degrees; in RadiansToDegrees() local
69 degrees.reserve (radians.size ()); in RadiansToDegrees()
72 degrees.push_back (RadiansToDegrees (radians[i])); in RadiansToDegrees()
74 return degrees; in RadiansToDegrees()
/dports/audio/gnome-music/gnome-music-41.0/gnomemusic/
H A Ddefaulticon.py49 degrees = pi / 180
73 ctx.arc(w - radius, radius, radius, -90 * degrees, 0 * degrees)
75 w - radius, h - radius, radius, 0 * degrees, 90 * degrees)
76 ctx.arc(radius, h - radius, radius, 90 * degrees, 180 * degrees)
77 ctx.arc(radius, radius, radius, 180 * degrees, 270 * degrees)
/dports/biology/jalview/jalview/src/MCview/
H A DMCMatrix.java46 public void rotatex(float degrees) in rotatex() argument
48 mycos = (float) (Math.cos(degrees * myconst)); in rotatex()
49 mysin = (float) (Math.sin(degrees * myconst)); in rotatex()
63 public void rotatez(float degrees) in rotatez() argument
65 mycos = (float) (Math.cos(degrees * myconst)); in rotatez()
66 mysin = (float) (Math.sin(degrees * myconst)); in rotatez()
81 public void rotatey(float degrees) in rotatey() argument
83 mycos = (float) (Math.cos(degrees * myconst)); in rotatey()
84 mysin = (float) (Math.sin(degrees * myconst)); in rotatey()
/dports/math/flint2/flint-2.8.4/fmpz_mpoly/
H A Dcompose_fmpz_poly.c64 fmpz * degrees; in _fmpz_mpoly_compose_fmpz_poly_sp() local
75 degrees = TMP_ARRAY_ALLOC(nvars, slong); in _fmpz_mpoly_compose_fmpz_poly_sp()
76 mpoly_degrees_si(degrees, Bexp, Blen, bits, ctx->minfo); in _fmpz_mpoly_compose_fmpz_poly_sp()
88 entries += FLINT_BIT_COUNT(degrees[i]); in _fmpz_mpoly_compose_fmpz_poly_sp()
100 flint_bitcnt_t varibits = FLINT_BIT_COUNT(degrees[i]); in _fmpz_mpoly_compose_fmpz_poly_sp()
160 fmpz * degrees; in _fmpz_mpoly_compose_fmpz_poly_mp() local
171 degrees = TMP_ARRAY_ALLOC(nvars, fmpz); in _fmpz_mpoly_compose_fmpz_poly_mp()
173 fmpz_init(degrees + i); in _fmpz_mpoly_compose_fmpz_poly_mp()
187 entries += fmpz_bits(degrees + i); in _fmpz_mpoly_compose_fmpz_poly_mp()
199 flint_bitcnt_t varibits = fmpz_bits(degrees + i); in _fmpz_mpoly_compose_fmpz_poly_mp()
[all …]
/dports/graphics/digikam/digikam-7.4.0/core/libs/metadataengine/engine/
H A Dmetaengine_gps.cpp799 if (degrees > 0.0) in convertDegreeAngleToDouble()
927 int degrees = (int)floor(coordinate); in convertToGPSCoordinateString() local
1014 *degrees = parts[0].toLong(); in convertFromGPSCoordinateString()
1015 *degrees += parts[1].toDouble() / 60.0; in convertFromGPSCoordinateString()
1019 *degrees *= -1.0; in convertFromGPSCoordinateString()
1028 *degrees = parts[0].toLong(); in convertFromGPSCoordinateString()
1029 *degrees += parts[1].toLong() / 60.0; in convertFromGPSCoordinateString()
1030 *degrees += parts[2].toLong() / 3600.0; in convertFromGPSCoordinateString()
1034 *degrees *= -1.0; in convertFromGPSCoordinateString()
1073 *degrees = parts[0].toInt(); in convertToUserPresentableNumbers()
[all …]

12345678910>>...592