/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/src/common/gui/ |
H A D | guihelpers.cpp | 32 bool get_line_intersection(float p0_x, float p0_y, float p1_x, float p1_y, float p2_x, float p2_y, in get_line_intersection() argument 39 s1_y = p1_y - p0_y; in get_line_intersection() 43 s = (-s1_y * (p0_x - p2_x) + s1_x * (p0_y - p2_y)) / (-s2_x * s1_y + s1_x * s2_y); in get_line_intersection() 44 t = (s2_x * (p0_y - p2_y) - s2_y * (p0_x - p2_x)) / (-s2_x * s1_y + s1_x * s2_y); in get_line_intersection() 52 *i_y = p0_y + (t * s1_y); in get_line_intersection()
|
H A D | guihelpers.h | 20 bool get_line_intersection(float p0_x, float p0_y, float p1_x, float p1_y, float p2_x, float p2_y,
|
/dports/cad/verilator/verilator-4.216/test_regress/t/ |
H A D | t_alw_split_cond.v | 28 input [1:0] p0_y, port 39 ry = sel == 2'b10 ? p1_y : p0_y; 48 ry = p0_y;
|
/dports/math/ann/ann_1.1.2/ann2fig/ |
H A D | ann2fig.cpp | 283 int p0_y = (int) TRANS_Y(r.lo); in writeBox() local 287 << p0_x << " " << p0_y << " " // write vertices in writeBox() 288 << p1_x << " " << p0_y << " " in writeBox() 291 << p0_x << " " << p0_y << "\n"; in writeBox() 300 int p0_y = (int) TRANS_Y(p0); in writeLine() local 304 << p0_x << " " << p0_y << " " // write vertices in writeLine()
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_unsupported/external/ann_1.1.1/ann2fig/ |
H A D | ann2fig.cpp | 281 int p0_y = (int) TRANS_Y(r.lo); in writeBox() local 285 << p0_x << " " << p0_y << " " // write vertices in writeBox() 286 << p1_x << " " << p0_y << " " in writeBox() 289 << p0_x << " " << p0_y << "\n"; in writeBox() 298 int p0_y = (int) TRANS_Y(p0); in writeLine() local 302 << p0_x << " " << p0_y << " " // write vertices in writeLine()
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/queso/src/contrib/ANN/ann2fig/ |
H A D | ann2fig.cpp | 283 int p0_y = (int) TRANS_Y(r.lo); in writeBox() local 287 << p0_x << " " << p0_y << " " // write vertices in writeBox() 288 << p1_x << " " << p0_y << " " in writeBox() 291 << p0_x << " " << p0_y << "\n"; in writeBox() 300 int p0_y = (int) TRANS_Y(p0); in writeLine() local 304 << p0_x << " " << p0_y << " " // write vertices in writeLine()
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/approxnn/ann2fig/ |
H A D | ann2fig.cpp | 283 int p0_y = (int) TRANS_Y(r.lo); in writeBox() local 287 << p0_x << " " << p0_y << " " // write vertices in writeBox() 288 << p1_x << " " << p0_y << " " in writeBox() 291 << p0_x << " " << p0_y << "\n"; in writeBox() 300 int p0_y = (int) TRANS_Y(p0); in writeLine() local 304 << p0_x << " " << p0_y << " " // write vertices in writeLine()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/staging/media/atomisp/pci/isp/kernels/dvs/dvs_1.0/ |
H A D | ia_css_dvs.host.c | 169 s.p0_y = y00 - topleft_y_frac; in convert_coords_to_ispparams() 179 assert(s.p0_y < (s.in_block_height << DVS_COORD_FRAC_BITS)); in convert_coords_to_ispparams() 187 assert(s.p0_y < s.p2_y); in convert_coords_to_ispparams() 194 printf("p0_y: %d\n", s.p0_y); in convert_coords_to_ispparams() 203 printf("p0_y_nofrac[1]: %d\n", s.p0_y >> DVS_COORD_FRAC_BITS); in convert_coords_to_ispparams()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/staging/media/atomisp/pci/isp/kernels/dvs/dvs_1.0/ |
H A D | ia_css_dvs.host.c | 169 s.p0_y = y00 - topleft_y_frac; in convert_coords_to_ispparams() 179 assert(s.p0_y < (s.in_block_height << DVS_COORD_FRAC_BITS)); in convert_coords_to_ispparams() 187 assert(s.p0_y < s.p2_y); in convert_coords_to_ispparams() 194 printf("p0_y: %d\n", s.p0_y); in convert_coords_to_ispparams() 203 printf("p0_y_nofrac[1]: %d\n", s.p0_y >> DVS_COORD_FRAC_BITS); in convert_coords_to_ispparams()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/staging/media/atomisp/pci/isp/kernels/dvs/dvs_1.0/ |
H A D | ia_css_dvs.host.c | 169 s.p0_y = y00 - topleft_y_frac; in convert_coords_to_ispparams() 179 assert(s.p0_y < (s.in_block_height << DVS_COORD_FRAC_BITS)); in convert_coords_to_ispparams() 187 assert(s.p0_y < s.p2_y); in convert_coords_to_ispparams() 194 printf("p0_y: %d\n", s.p0_y); in convert_coords_to_ispparams() 203 printf("p0_y_nofrac[1]: %d\n", s.p0_y >> DVS_COORD_FRAC_BITS); in convert_coords_to_ispparams()
|
/dports/databases/postgis31/postgis-3.1.4/deps/wagyu/include/mapbox/geometry/wagyu/ |
H A D | intersect_util.hpp | 51 T2 p0_y = static_cast<T2>(e1.bot.y); in get_edge_intersection() local 60 s1_y = p1_y - p0_y; in get_edge_intersection() 64 T2 s = (-s1_y * (p0_x - p2_x) + s1_x * (p0_y - p2_y)) / (-s2_x * s1_y + s1_x * s2_y); in get_edge_intersection() 65 T2 t = (s2_x * (p0_y - p2_y) - s2_y * (p0_x - p2_x)) / (-s2_x * s1_y + s1_x * s2_y); in get_edge_intersection() 69 pt.y = p0_y + (t * s1_y); in get_edge_intersection()
|
/dports/databases/postgis30/postgis-3.0.4/deps/wagyu/include/mapbox/geometry/wagyu/ |
H A D | intersect_util.hpp | 51 T2 p0_y = static_cast<T2>(e1.bot.y); in get_edge_intersection() local 60 s1_y = p1_y - p0_y; in get_edge_intersection() 64 T2 s = (-s1_y * (p0_x - p2_x) + s1_x * (p0_y - p2_y)) / (-s2_x * s1_y + s1_x * s2_y); in get_edge_intersection() 65 T2 t = (s2_x * (p0_y - p2_y) - s2_y * (p0_x - p2_x)) / (-s2_x * s1_y + s1_x * s2_y); in get_edge_intersection() 69 pt.y = p0_y + (t * s1_y); in get_edge_intersection()
|
/dports/databases/postgis32/postgis-3.2.0/deps/wagyu/include/mapbox/geometry/wagyu/ |
H A D | intersect_util.hpp | 51 T2 p0_y = static_cast<T2>(e1.bot.y); in get_edge_intersection() local 60 s1_y = p1_y - p0_y; in get_edge_intersection() 64 T2 s = (-s1_y * (p0_x - p2_x) + s1_x * (p0_y - p2_y)) / (-s2_x * s1_y + s1_x * s2_y); in get_edge_intersection() 65 T2 t = (s2_x * (p0_y - p2_y) - s2_y * (p0_x - p2_x)) / (-s2_x * s1_y + s1_x * s2_y); in get_edge_intersection() 69 pt.y = p0_y + (t * s1_y); in get_edge_intersection()
|
/dports/math/igraph/igraph-0.9.5/src/layout/ |
H A D | davidson_harel.c | 36 igraph_bool_t igraph_i_layout_segments_intersect(float p0_x, float p0_y, in igraph_i_layout_segments_intersect() argument 41 float s1_y = p1_y - p0_y; in igraph_i_layout_segments_intersect() 46 s1 = (-s1_y * (p0_x - p2_x) + s1_x * (p0_y - p2_y)); in igraph_i_layout_segments_intersect() 51 t1 = ( s2_x * (p0_y - p2_y) - s2_y * (p0_x - p2_x)); in igraph_i_layout_segments_intersect()
|
H A D | layout_internal.h | 48 IGRAPH_PRIVATE_EXPORT igraph_bool_t igraph_i_layout_segments_intersect(float p0_x, float p0_y,
|
/dports/math/R-cran-igraph/igraph/src/ |
H A D | layout_dh.c | 34 igraph_bool_t igraph_i_segments_intersect(float p0_x, float p0_y, in igraph_i_segments_intersect() argument 39 float s1_y = p1_y - p0_y; in igraph_i_segments_intersect() 44 s1 = (-s1_y * (p0_x - p2_x) + s1_x * (p0_y - p2_y)); in igraph_i_segments_intersect() 49 t1 = ( s2_x * (p0_y - p2_y) - s2_y * (p0_x - p2_x)); in igraph_i_segments_intersect()
|
/dports/textproc/p5-PDF-API3/PDF-API3-3.001/lib/PDF/API3/Compat/API2/ |
H A D | Content.pm | 839 my $p0_y = $b * $sin_alpha; 846 return($p0_x,$p0_y,$p1_x,$p1_y,$p2_x,$p2_y,$p3_x,$p3_y); 862 my ($p0_x,$p0_y,$p1_x,$p1_y,$p2_x,$p2_y,$p3_x,$p3_y); 865 $p0_y= $y + shift @points; 867 $self->move($p0_x,$p0_y) if($move); 924 my ($p0_x,$p0_y,$p1_x,$p1_y,$p2_x,$p2_y,$p3_x,$p3_y); 958 $p0_y=shift @points; 960 $y=$y1-$p0_y; 993 my ($p0_x,$p0_y)=arctocurve($a,$b,$alfa,$beta); 995 $self->line($p0_x+$x,$p0_y+$y);
|
/dports/textproc/p5-PDF-API2/PDF-API2-2.042/lib/PDF/API2/ |
H A D | Content.pm | 915 my $p0_y = $b * $sin_alpha; 923 return ($p0_x, $p0_y, $p1_x, $p1_y, $p2_x, $p2_y, $p3_x, $p3_y); 930 my ($p0_x, $p0_y, $p1_x, $p1_y, $p2_x, $p2_y, $p3_x, $p3_y); 933 $p0_y = $y + shift(@points); 936 $self->move($p0_x, $p0_y) if $move; 971 my ($p0_x, $p0_y, $p1_x, $p1_y, $p2_x, $p2_y, $p3_x, $p3_y); 1004 $p0_y = shift(@points); 1006 $y = $y1 - $p0_y; 1168 my ($p0_x, $p0_y) = arctocurve($a, $b, $alpha, $beta); 1170 $self->line($p0_x + $x, $p0_y + $y);
|
/dports/www/firefox/firefox-99.0/gfx/wr/webrender/src/ |
H A D | util.rs | 880 let p0_y = -3.0; in polygon_clip_is_left_of_point() localVariable 885 assert!(is_left_of_line(-9.0, 0.0, p0_x, p0_y, p1_x, p1_y) > 0.0); in polygon_clip_is_left_of_point() 886 assert!(is_left_of_line(-1.0, 1.0, p0_x, p0_y, p1_x, p1_y) > 0.0); in polygon_clip_is_left_of_point() 887 assert!(is_left_of_line(1.0, -4.0, p0_x, p0_y, p1_x, p1_y) > 0.0); in polygon_clip_is_left_of_point() 890 assert!(is_left_of_line(-3.0, 9.0, p0_x, p0_y, p1_x, p1_y) == 0.0); in polygon_clip_is_left_of_point() 891 assert!(is_left_of_line(0.0, 0.0, p0_x, p0_y, p1_x, p1_y) == 0.0); in polygon_clip_is_left_of_point() 892 assert!(is_left_of_line(100.0, -300.0, p0_x, p0_y, p1_x, p1_y) == 0.0); in polygon_clip_is_left_of_point() 895 assert!(is_left_of_line(0.0, 1.0, p0_x, p0_y, p1_x, p1_y) < 0.0); in polygon_clip_is_left_of_point() 896 assert!(is_left_of_line(-4.0, 13.0, p0_x, p0_y, p1_x, p1_y) < 0.0); in polygon_clip_is_left_of_point() 897 assert!(is_left_of_line(5.0, -12.0, p0_x, p0_y, p1_x, p1_y) < 0.0); in polygon_clip_is_left_of_point()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/staging/media/atomisp/pci/hive_isp_css_common/ |
H A D | gdc_global.h | 80 u32 p0_y; member
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/staging/media/atomisp/pci/hive_isp_css_common/ |
H A D | gdc_global.h | 80 u32 p0_y; member
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/staging/media/atomisp/pci/hive_isp_css_common/ |
H A D | gdc_global.h | 80 u32 p0_y; member
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/wr/webrender/src/ |
H A D | util.rs | 873 let p0_y = -3.0; in polygon_clip_is_left_of_point() localVariable 878 assert!(is_left_of_line(-9.0, 0.0, p0_x, p0_y, p1_x, p1_y) > 0.0); in polygon_clip_is_left_of_point() 879 assert!(is_left_of_line(-1.0, 1.0, p0_x, p0_y, p1_x, p1_y) > 0.0); in polygon_clip_is_left_of_point() 880 assert!(is_left_of_line(1.0, -4.0, p0_x, p0_y, p1_x, p1_y) > 0.0); in polygon_clip_is_left_of_point() 883 assert!(is_left_of_line(-3.0, 9.0, p0_x, p0_y, p1_x, p1_y) == 0.0); in polygon_clip_is_left_of_point() 884 assert!(is_left_of_line(0.0, 0.0, p0_x, p0_y, p1_x, p1_y) == 0.0); in polygon_clip_is_left_of_point() 885 assert!(is_left_of_line(100.0, -300.0, p0_x, p0_y, p1_x, p1_y) == 0.0); in polygon_clip_is_left_of_point() 888 assert!(is_left_of_line(0.0, 1.0, p0_x, p0_y, p1_x, p1_y) < 0.0); in polygon_clip_is_left_of_point() 889 assert!(is_left_of_line(-4.0, 13.0, p0_x, p0_y, p1_x, p1_y) < 0.0); in polygon_clip_is_left_of_point() 890 assert!(is_left_of_line(5.0, -12.0, p0_x, p0_y, p1_x, p1_y) < 0.0); in polygon_clip_is_left_of_point()
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/wr/webrender/src/ |
H A D | util.rs | 873 let p0_y = -3.0; in polygon_clip_is_left_of_point() localVariable 878 assert!(is_left_of_line(-9.0, 0.0, p0_x, p0_y, p1_x, p1_y) > 0.0); in polygon_clip_is_left_of_point() 879 assert!(is_left_of_line(-1.0, 1.0, p0_x, p0_y, p1_x, p1_y) > 0.0); in polygon_clip_is_left_of_point() 880 assert!(is_left_of_line(1.0, -4.0, p0_x, p0_y, p1_x, p1_y) > 0.0); in polygon_clip_is_left_of_point() 883 assert!(is_left_of_line(-3.0, 9.0, p0_x, p0_y, p1_x, p1_y) == 0.0); in polygon_clip_is_left_of_point() 884 assert!(is_left_of_line(0.0, 0.0, p0_x, p0_y, p1_x, p1_y) == 0.0); in polygon_clip_is_left_of_point() 885 assert!(is_left_of_line(100.0, -300.0, p0_x, p0_y, p1_x, p1_y) == 0.0); in polygon_clip_is_left_of_point() 888 assert!(is_left_of_line(0.0, 1.0, p0_x, p0_y, p1_x, p1_y) < 0.0); in polygon_clip_is_left_of_point() 889 assert!(is_left_of_line(-4.0, 13.0, p0_x, p0_y, p1_x, p1_y) < 0.0); in polygon_clip_is_left_of_point() 890 assert!(is_left_of_line(5.0, -12.0, p0_x, p0_y, p1_x, p1_y) < 0.0); in polygon_clip_is_left_of_point()
|
/dports/games/retroarch/RetroArch-1.9.7/gfx/include/userland/interface/khronos/vg/ |
H A D | vg_client.c | 5008 VGfloat p0_x, VGfloat p0_y, in vguLine() argument 5016 p0_y = clean_float(p0_y); in vguLine() 5378 VGfloat p0_x, VGfloat p0_y, in warp_square_to_quad() argument 5413 a->m[1][2] = p0_y; in warp_square_to_quad() 5423 VGfloat p0_x, VGfloat p0_y, in warp_quad_to_square() argument 5437 VGfloat p0_x, VGfloat p0_y, in vguComputeWarpQuadToSquare() argument 5447 p0_y = clean_float(p0_y); in vguComputeWarpQuadToSquare() 5471 VGfloat p0_x, VGfloat p0_y, in vguComputeWarpSquareToQuad() argument 5481 p0_y = clean_float(p0_y); in vguComputeWarpSquareToQuad() 5505 VGfloat p0_x, VGfloat p0_y, in vguComputeWarpQuadToQuad() argument [all …]
|