/dports/devel/libgpkg/luciad-libgpkg-c56e3708453e/gpkg/ |
H A D | geomio.c | 110 static int contains_angle(double start_angle, double arc_angle, double target_angle) { in contains_angle() argument 111 if (arc_angle >= 360.0 || arc_angle <= -360.0) { in contains_angle() 115 double endAngle = start_angle + arc_angle; in contains_angle() 117 if (arc_angle >= 0.0) { in contains_angle() 133 … double end_x, double end_y, double start_angle, double arc_angle, double *bounds) { in get_bounds() argument 139 if (arc_angle >= 360.0 || arc_angle <= -360.0) { in get_bounds() 154 if (contains_angle(start_angle, arc_angle, 0.0)) { in get_bounds() 164 if (contains_angle(start_angle, arc_angle, 90.0)) { in get_bounds() 174 if (contains_angle(start_angle, arc_angle, 180.0)) { in get_bounds() 184 if (contains_angle(start_angle, arc_angle, 270.0)) { in get_bounds()
|
/dports/graphics/p5-Gimp/Gimp-2.33/examples/ |
H A D | burst | 19 my $end_angle = $start_angle + $arc_angle - 20 abs($arc_angle) == 360 ? abs ($arc_angle/$spokes) : 0;
|
/dports/misc/morse/morse-1.4-154-g53f9eaa8/src/morse/builder/ |
H A D | sensors.py | 251 arc_angle = start_angle 254 while arc_angle <= end_angle: 256 new_vertex = [ math.cos(math.radians(arc_angle)), 257 math.sin(math.radians(arc_angle)), 262 if arc_angle > start_angle: 265 arc_angle = arc_angle + resolution
|
/dports/graphics/gimp-app/gimp-2.10.30/plug-ins/gfig/ |
H A D | gfig-arc.c | 74 static gdouble arc_angle (GdkPoint *pnt, 334 arc_angle (GdkPoint *pnt, in arc_angle() function 414 ang1 = arc_angle (&pnt1->pnt, center_pnt); in arc_drawing_details() 415 ang2 = arc_angle (&pnt2->pnt, center_pnt); in arc_drawing_details() 416 ang3 = arc_angle (&pnt3->pnt, center_pnt); in arc_drawing_details()
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/live_effects/ |
H A D | lpe-pts2ellipse.cpp | 132 double arc_angle = calc_delta_angle(start, end); in unit_arc_path() local 133 if (fabs(arc_angle) < 1e-9) { in unit_arc_path() 141 int nda = (int)ceil(arc_angle / M_PI_2); in unit_arc_path() 143 da = arc_angle / (double)nda; in unit_arc_path() 146 if (fabs(arc_angle - 2 * M_PI) < 1e-8) { in unit_arc_path() 153 end = s + arc_angle; in unit_arc_path()
|
H A D | lpe-fillet-chamfer.cpp | 619 double arc_angle = Geom::angle_between(x_line, angled_line); in doEffect_path() local 634 … path_chamfer.appendNew<Geom::EllipticalArc>(rx, ry, arc_angle, false, ccw_toggle, end_arc_point); in doEffect_path() 646 … path_chamfer.appendNew<Geom::EllipticalArc>(rx, ry, arc_angle, false, ccw_toggle, end_arc_point); in doEffect_path() 661 … tmp_path.appendNew<Geom::EllipticalArc>(rx, ry, arc_angle, side, ccw_toggle, end_arc_point); in doEffect_path() 676 … tmp_path.appendNew<Geom::EllipticalArc>(rx, ry, arc_angle, side, ccw_toggle, end_arc_point); in doEffect_path()
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/gerbview/ |
H A D | gerber_draw_item.cpp | 312 double arc_angle = in GetBoundingBox() local 316 arc_angle *= 180.0 / M_PI; in GetBoundingBox() 318 if( arc_angle < 0.0 ) in GetBoundingBox() 319 arc_angle += 360.0; in GetBoundingBox() 322 arc_angle = 360.0; in GetBoundingBox() 324 SHAPE_ARC arc( m_ArcCentre, m_Start, arc_angle ); in GetBoundingBox()
|
H A D | rs274d.cpp | 367 double arc_angle = start_angle - end_angle; in fillArcPOLY() local 371 int count = std::abs( arc_angle / increment_angle ); in fillArcPOLY()
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pcbnew/microwave/ |
H A D | microwave_inductor.cpp | 249 int arc_angle; in BuildCornersList_S_Shape() local 256 arc_angle = 1800 * sign; in BuildCornersList_S_Shape() 259 gen_arc( aBuffer, pt, centre, arc_angle ); in BuildCornersList_S_Shape()
|
/dports/science/chrono/chrono-7.0.1/src/chrono_vehicle/tracked_vehicle/sprocket/ |
H A D | ChSprocketSinglePin.cpp | 269 double arc_angle = delta * std::round(angle / delta); in FindClosestArc() local 271 return ChVector<>(m_gear_RC * std::sin(arc_angle), loc.y(), -m_gear_RC * std::cos(arc_angle)); in FindClosestArc()
|
/dports/cad/openscad/openscad-41f58fe57c03457a3a8b4dc541ef5654ec3e8c78/src/ |
H A D | dxfdata.cc | 218 double arc_angle = arc_stop_angle - arc_start_angle; in DxfData() local 219 n = static_cast<int>(ceil(n * arc_angle / 360)); in DxfData() 221 double a1 = arc_start_angle + arc_angle * i / n; in DxfData() 222 double a2 = arc_start_angle + arc_angle * (i + 1) / n; in DxfData()
|
/dports/cad/openscad-devel/openscad-63a7c77740030c63d646eb0684ba6947eecb0db7/src/ |
H A D | dxfdata.cc | 218 double arc_angle = arc_stop_angle - arc_start_angle; in DxfData() local 219 n = static_cast<int>(ceil(n * arc_angle / 360)); in DxfData() 221 double a1 = arc_start_angle + arc_angle * i / n; in DxfData() 222 double a2 = arc_start_angle + arc_angle * (i + 1) / n; in DxfData()
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/libs/kimath/src/ |
H A D | convert_basic_shapes_to_polygon.cpp | 566 double arc_angle = arc.GetCentralAngle(); in TransformArcToPolygon() local 567 double arc_angle_end_deg = arc_angle_start_deg + arc_angle; in TransformArcToPolygon() 592 arc_angle_start_deg, arc_angle, aError, errorLocOuter ); in TransformArcToPolygon() 596 arc_angle_end_deg, -arc_angle, aError, errorLocInner ); in TransformArcToPolygon()
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/libs/kimath/src/geometry/ |
H A D | shape_arc.cpp | 483 double arc_angle = std::abs( ca ); in ConvertToPolyline() local 484 n = GetArcToSegmentCount( external_radius, aAccuracy, arc_angle ); in ConvertToPolyline() 487 int seg360 = n * 360.0 / arc_angle; in ConvertToPolyline()
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/3d-viewer/3d_canvas/ |
H A D | create_3Dgraphic_brd_items.cpp | 248 double arc_angle = arc->GetAngle(); in createTrack() local 250 int arcsegcount = GetArcToSegmentCount( radius, Millimeter2iu( 0.005), arc_angle/10 ); in createTrack() 259 double cnt = arcsegcount * 3600/std::abs( arc_angle ); in createTrack() 276 arc_angle, circlesegcount, in createTrack()
|
/dports/cad/pcb/pcb-4.2.0/src/ |
H A D | puller.c | 450 double arc_angle, base_angle; in Puller() local 507 arc_angle = the_arc->StartAngle + the_arc->Delta + 90; in Puller() 509 arc_angle = the_arc->StartAngle + the_arc->Delta - 90; in Puller() 516 rel_angle = line_angle - arc_angle; in Puller() 526 arc_angle = base_angle - tangent; in Puller() 528 arc_angle = base_angle + tangent; in Puller() 530 printf ("new end angle %g\n", arc_angle); in Puller() 533 new_delta_angle = arc_angle - the_arc->StartAngle; in Puller() 545 arc_angle = the_arc->StartAngle + the_arc->Delta; in Puller() 546 x = the_arc->X - the_arc->Width * cos (d2r (arc_angle)) + 0.5; in Puller() [all …]
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pcbnew/ |
H A D | pcb_track.cpp | 821 double arc_angle = GetAngle(); in HitTest() local 823 if( arc_angle < 0 ) in HitTest() 824 return arc_hittest >= 3600 + arc_angle; in HitTest() 826 return arc_hittest <= arc_angle; in HitTest()
|
/dports/textproc/highlight/highlight-4.1/langDefs/ |
H A D | pov.lang | 20 "ambient_light", "angle", "aperture", "arc_angle", "area_light", "asc", "asin",
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pcbnew/python/plugins/ |
H A D | FootprintWizardBase.py | 706 arc_angle = (math.pi * 2 - angle_intercept * 2) * (1800/math.pi) 708 self.Arc(x, y, sx, sy, arc_angle)
|
/dports/cad/k40-whisperer/K40_Whisperer-0.58_src/ |
H A D | g_code_library.py | 40 self.arc_angle = 2 61 def Read_G_Code(self,filename, XYarc2line = False, arc_angle=2, units="in", Accuracy=""): argument 68 self.arc_angle = arc_angle 1488 arc_step=self.arc_angle 2067 MSG = g_rip.Read_G_Code(filename, XYarc2line = True, arc_angle=2, units="in", Accuracy="")
|
/dports/graphics/phplot/phplot-6.2.0/ |
H A D | phplot.php | 6400 * @param float $arc_angle Delta angle for this slice, in degrees 6420 $values[] = $arc_angle / 3.6; 6444 * @param float $arc_angle Slice angular width in degrees 6449 protected function DrawPieLabel($label_txt, $xc, $yc, $start_angle, $arc_angle, $r) argument 6451 $mid_angle = deg2rad($start_angle + $arc_angle / 2); 7498 $arc_angle = 360 * $slice_weight / $total; 7501 $start_angle -= $arc_angle; 7504 $end_angle += $arc_angle; 7590 $arc_angle = 360 * $slice_weight / $total; 7602 $start_angle -= $arc_angle; [all …]
|
/dports/deskutils/mate-notification-daemon/mate-notification-daemon-1.26.0/src/themes/coco/ |
H A D | coco-theme.c | 173 gdouble arc_angle = 1.0 - (gdouble)windata->remaining / (gdouble)windata->timeout; in draw_pie() local 177 -G_PI/2, (-0.25 + arc_angle)*2*G_PI); in draw_pie()
|
/dports/print/a2ps/a2ps-4.13/sheets/ |
H A D | pov.ssh | 46 aperture, arc_angle, area_light, asc, asin, asinh, assumed_gamma,
|
/dports/biology/garlic/garlic-1.6/ |
H A D | init_runtime.c | 502 runtimeSP->arc_angle = 10.0; in InitRuntime_()
|
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/measureit/ |
H A D | measureit_geometry.py | 231 arc_angle, arc_length = get_arc_data(an_p1, a_p1, an_p2, an_p3) 421 arc_d = degrees(arc_angle) 423 arc_d = arc_angle 543 step = arc_angle / n_step
|