Home
last modified time | relevance | path

Searched refs:p1y (Results 1 – 25 of 489) sorted by relevance

12345678910>>...20

/dports/math/cgal/CGAL-5.3/include/CGAL/predicates/
H A Dpredicates_for_mixed_complex_3.h38 weighted_circumcenterC3(p1x, p1y, p1z, p1w, in side_of_mixed_cellC3()
44 ((1-s)*p1y+s*y-xy)*(dy) + in side_of_mixed_cellC3()
61 tx = (p2y-p1y) * (p3z-p1z) - (p2z-p1z) * (p3y-p1y); in side_of_mixed_cellC3()
63 tz = (p2x-p1x) * (p3y-p1y) - (p2y-p1y) * (p3x-p1x); in side_of_mixed_cellC3()
66 nx = (p2y-p1y) * tz - (p2z-p1z) * ty; in side_of_mixed_cellC3()
68 nz = (p2x-p1x) * ty - (p2y-p1y) * tx; in side_of_mixed_cellC3()
71 weighted_circumcenterC3(p1x, p1y, p1z, p1w, in side_of_mixed_cellC3()
95 nx = (p3y-p1y) * (p2z-p1z) - (p3z-p1z) * (p2y-p1y); in side_of_mixed_cellC3()
97 nz = (p3x-p1x) * (p2y-p1y) - (p3y-p1y) * (p2x-p1x); in side_of_mixed_cellC3()
104 weighted_circumcenterC3(p1x, p1y, p1z, p1w, in side_of_mixed_cellC3()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/gfx/geometry/
H A Dcubic_bezier.cc24 InitCoefficients(p1x, p1y, p2x, p2y); in CubicBezier()
25 InitGradients(p1x, p1y, p2x, p2y); in CubicBezier()
26 InitRange(p1y, p2y); in CubicBezier()
42 cy_ = 3.0 * p1y; in InitCoefficients()
43 by_ = 3.0 * (p2y - p1y) - cy_; in InitCoefficients()
55 double p1y, in InitGradients() argument
79 start_gradient_ = p1y / p1x; in InitGradients()
80 else if (!p1y && p2x > 0) in InitGradients()
82 else if (!p1y && !p2y) in InitGradients()
91 else if (p2y == 1 && p1y == 1) in InitGradients()
[all …]
H A Dcubic_bezier.h17 CubicBezier(double p1x, double p1y, double p2x, double p2y);
75 void InitCoefficients(double p1x, double p1y, double p2x, double p2y);
76 void InitGradients(double p1x, double p1y, double p2x, double p2y);
77 void InitRange(double p1y, double p2y);
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/gfx/geometry/
H A Dcubic_bezier.cc24 InitCoefficients(p1x, p1y, p2x, p2y); in CubicBezier()
25 InitGradients(p1x, p1y, p2x, p2y); in CubicBezier()
26 InitRange(p1y, p2y); in CubicBezier()
42 cy_ = 3.0 * p1y; in InitCoefficients()
43 by_ = 3.0 * (p2y - p1y) - cy_; in InitCoefficients()
55 double p1y, in InitGradients() argument
79 start_gradient_ = p1y / p1x; in InitGradients()
80 else if (!p1y && p2x > 0) in InitGradients()
82 else if (!p1y && !p2y) in InitGradients()
91 else if (p2y == 1 && p1y == 1) in InitGradients()
[all …]
H A Dcubic_bezier.h17 CubicBezier(double p1x, double p1y, double p2x, double p2y);
75 void InitCoefficients(double p1x, double p1y, double p2x, double p2y);
76 void InitGradients(double p1x, double p1y, double p2x, double p2y);
77 void InitRange(double p1y, double p2y);
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/baml/
H A Dbaml_warp.cxx66 int p1y=int(wy); in baml_warp_perspective() local
67 double normy = wy-p1y; in baml_warp_perspective()
69 double i1 = img1(p1x,p1y) + in baml_warp_perspective()
70 ( img1(p1x,p1y+1) - (double)img1(p1x,p1y) )*normy; in baml_warp_perspective()
71 double i2 = img1(p1x+1,p1y) + in baml_warp_perspective()
72 ( img1(p1x+1,p1y+1) - (double)img1(p1x+1,p1y) )*normy; in baml_warp_perspective()
135 int p1y=int(wy); in baml_warp_perspective() local
136 double normy = wy-p1y; in baml_warp_perspective()
138 double i1 = img1(p1x,p1y) + in baml_warp_perspective()
139 ( img1(p1x,p1y+1) - (double)img1(p1x,p1y) )*normy; in baml_warp_perspective()
[all …]
/dports/math/jts/jts-jts-1.18.1/modules/core/src/main/java/org/locationtech/jts/operation/overlayng/
H A DEdgeKey.java36 private double p1y; field in EdgeKey
59 p1y = p1.getY(); in init()
71 if (p1y < ek.p1y) return -1; in compareTo()
72 if (p1y > ek.p1y) return 1; in compareTo()
84 && p1y == ek.p1y; in equals()
98 result = 37 * result + hashCode(p1y); in hashCode()
116 + ", " + format(p1x, p1y) + ")"; in toString()
/dports/math/p5-Math-Bezier-Convert/Math-Bezier-Convert-0.02/
H A DConvert.pm39 $p10y = $p0y + $sep * ($p1y - $p0y);
41 $p11y = $p1y + $sep * ($p2y - $p1y);
59 $p10y = $p0y + $sep * ($p1y - $p0y);
61 $p11y = $p1y + $sep * ($p2y - $p1y);
89 my ($v01x, $v01y) = ($p1x-$p0x, $p1y-$p0y);
111 ($p1x, $p1y, $p2x, $p2y, $p3x, $p3y) = @p;
131 my $deltay = 3*($p1y - $p0y);
133 my $betay = 3*($p2y - $p1y) - $deltay;
185 @p = ($p1x, $p1y, $p2x, $p2y, $p3x, $p3y) = @cp1;
239 my ($p1x, $p1y, $p2x, $p2y);
[all …]
/dports/cad/pdnmesh/pdnmesh-0.2.2/src/
H A Dpoly.c137 dy1 = p1y - p0y; in ccw()
170 ccw11 = ccw (e1.p1x, e1.p1y, e1.p2x, e1.p2y, e2.p1x, e2.p1y); in intersect()
172 ccw21 = ccw (e2.p1x, e2.p1y, e2.p2x, e2.p2y, e1.p1x, e1.p1y); in intersect()
187 ccw11 = ccw (e1.p1x, e1.p1y, e1.p2x, e1.p2y, e2.p1x, e2.p1y); in clean_intersect()
189 ccw21 = ccw (e2.p1x, e2.p1y, e2.p2x, e2.p2y, e1.p1x, e1.p1y); in clean_intersect()
271 lp.p1x, lp.p1y, lp.p2x, lp.p2y, lt.p1x, lt.p1y, lt.p2x, in inside_poly()
347 lt.p1y = p.y; in inside_poly_point()
357 lv.p1y = p.y; in inside_poly_point()
385 lp.p1x, lp.p1y, lp.p2x, lp.p2y, lt.p1x, lt.p1y, lt.p2x, in inside_poly_point()
572 lt.p1x, lt.p1y, lt.p2x, lt.p2y, lp.p1x, lp.p1y, in remove_polygon_mesh_intersections()
[all …]
/dports/graphics/geos/geos-3.9.1/src/operation/overlayng/
H A DEdgeKey.cpp56 p1y = p1.y; in init()
70 if (p1y < ek->p1y) return -1; in compareTo()
71 if (p1y > ek->p1y) return 1; in compareTo()
82 && p1y == ek->p1y; in equals()
/dports/audio/wolf-shaper-lv2/wolf-shaper-0.1.8-33-ge84de58/plugins/wolf-shaper/Structures/src/
H A DGraph.cpp57 const float deltaY = p2y - p1y; in ~Ringbuffer()
72 result = deltaY * std::pow((input - p1x) / deltaX, exponent) + p1y; in ~Ringbuffer()
76 … result = 1 - (deltaY * std::pow(1 - (input - p1x) / deltaX, exponent) + p1y) + p2y - (1 - p1y); in ~Ringbuffer()
336 const float deltaY = p2y - p1y;
347 const float middleY = p1y + deltaY / 2.0f;
376 result = std::floor((input - p1x) / stepX) * stepY + p1y;
380 result = std::floor((input - p1x) / stepX + 1) * stepY + p1y;
384 const float minY = std::min(p1y, p2y);
385 const float maxY = std::max(p1y, p2y);
404 return inputSign * (wave * deltaY + p1y);
[all …]
/dports/cad/calculix-ccx/CalculiX/ccx_2.18/src/
H A Dgeneratetet_refine.f29 & p1x,p1y,p1z,p2x,p2y,p2z,p3x,p3y,p3z,p4x,p4y,p4z,a11, local
116 p1y=cotet(2,nodes(1))
132 a12=p1y-p2y
134 d1=((p1x+p2x)*a11+(p1y+p2y)*a12+(p1z+p2z)*a13)/2.d0
137 a22=p1y-p3y
139 d2=((p1x+p3x)*a21+(p1y+p3y)*a22+(p1z+p3z)*a23)/2.d0
142 a32=p1y-p4y
144 d3=((p1x+p4x)*a31+(p1y+p4y)*a32+(p1z+p4z)*a33)/2.d0
155 r=dsqrt((x-p1x)**2+(y-p1y)**2+(z-p1z)**2)
165 cg(2,ielement)=(p1y+p2y+p3y+p4y)/4.d0
H A Dupdategeodata.f35 & doubleglob(*),x,y,z,r,ratio(20),p1x,p1y,p1z,p2x,p2y,p2z,p3x, local
116 p1y=cotet(2,nodes(1))
132 a12=p1y-p2y
134 d1=((p1x+p2x)*a11+(p1y+p2y)*a12+(p1z+p2z)*a13)/2.d0
137 a22=p1y-p3y
139 d2=((p1x+p3x)*a21+(p1y+p3y)*a22+(p1z+p3z)*a23)/2.d0
142 a32=p1y-p4y
144 d3=((p1x+p4x)*a31+(p1y+p4y)*a32+(p1z+p4z)*a33)/2.d0
155 r=dsqrt((x-p1x)**2+(y-p1y)**2+(z-p1z)**2)
165 cg(2,ielement)=(p1y+p2y+p3y+p4y)/4.d0
H A Dgeneratetet_refine2.f20 & p1x,p1y,p1z,p2x,p2y,p2z,p3x,p3y,p3z,p4x,p4y,p4z,a11,
107 p1y=cotet(2,nodes(1))
123 a12=p1y-p2y
125 d1=((p1x+p2x)*a11+(p1y+p2y)*a12+(p1z+p2z)*a13)/2.d0
128 a22=p1y-p3y
130 d2=((p1x+p3x)*a21+(p1y+p3y)*a22+(p1z+p3z)*a23)/2.d0
133 a32=p1y-p4y
135 d3=((p1x+p4x)*a31+(p1y+p4y)*a32+(p1z+p4z)*a33)/2.d0
146 r=dsqrt((x-p1x)**2+(y-p1y)**2+(z-p1z)**2)
156 cg(2,ielement)=(p1y+p2y+p3y+p4y)/4.d0
/dports/science/afni/afni-AFNI_21.3.16/src/SUMA/
H A DSUMA_trackball.c98 trackball(float q[4], float p1x, float p1y, float p2x, float p2y) in trackball() argument
105 if (p1x == p2x && p1y == p2y) { in trackball()
113 vset(p1, p1x, p1y, tb_project_to_sphere(TRACKBALLSIZE, p1x, p1y)); in trackball()
135 trackball_Phi(float q[4], float p1x, float p1y, float p2x, float p2y, float phi) in trackball_Phi() argument
141 if (p1x == p2x && p1y == p2y) { in trackball_Phi()
149 vset(p1, p1x, p1y, tb_project_to_sphere(TRACKBALLSIZE, p1x, p1y)); in trackball_Phi()
/dports/graphics/netpbm/netpbm-10.91.01/editor/
H A Dppmlabel.c37 int p1x, p1y, p2x, p2y, p3x, p3y, p4x, p4y; in drawtext() local
57 p1y = (int) ((y + bottom * cosa + -left * sina) + 0.5); in drawtext()
62 p2y = (int) ((p1y - cosa * ly) + 0.5); in drawtext()
65 p3y = (int) ((p1y - (cosa * ly + sina * lx)) + 0.5); in drawtext()
68 p4y = (int) ((p1y - sina * lx) + 0.5); in drawtext()
71 p1x, p1y, p2x, p2y, in drawtext()
80 p4x, p4y, p1x, p1y, in drawtext()
/dports/graphics/librsvg2/librsvg-2.40.21/
H A Drsvg-marker.c202 double p1x, p1y; member
275 segments[segment_num].p1y = cur_y; in path_to_segments()
296 segments[segment_num].p1y = last_y; in path_to_segments()
325 segments[segment_num].p1y = last_y; in path_to_segments()
340 && DOUBLE_EQUALS (segments[segment_num].p2y, segments[segment_num].p1y)) { in path_to_segments()
398 double p1x, p1y; in is_zero_length_segment() local
407 p1y = segment->p1y; in is_zero_length_segment()
418 return (points_equal (p1x, p1y, p2x, p2y) in is_zero_length_segment()
419 && points_equal (p1x, p1y, p3x, p3y) in is_zero_length_segment()
420 && points_equal (p1x, p1y, p4x, p4y)); in is_zero_length_segment()
[all …]
/dports/misc/vxl/vxl-3.3.2/core/vil/
H A Dvil_bicub_interp.hxx35 int p1y=int(y); in vil_bicub_interp_unsafe() local
36 double normy = y-p1y; in vil_bicub_interp_unsafe()
38 const T* pix1 = data + p1y*ystep + p1x*xstep; in vil_bicub_interp_unsafe()
72 int p1y=int(y); in vil_bicub_interp_raw() local
73 double normy = y-p1y; in vil_bicub_interp_raw()
75 const T* pix1 = data + p1y*ystep + p1x*xstep; in vil_bicub_interp_raw()
/dports/graphics/opencv/opencv-4.5.3/modules/calib3d/src/
H A Dippe.cpp518 double p1x, p1y; in homographyFromSquarePoints() local
526 p1y = -pts.at<Vec2f>(0)(1); in homographyFromSquarePoints()
540 p1y = -pts.at<Vec2d>(0)(1); in homographyFromSquarePoints()
562 …) = detsInv * (p1x * p2y * p3y - p2x * p1y * p3y - p1x * p2y * p4y + p2x * p1y * p4y - p3x * p1y *… in homographyFromSquarePoints()
563 …H(1, 1) = detsInv * (p2x * p1y * p3y - p3x * p1y * p2y - p1x * p2y * p4y + p4x * p1y * p2y + p1x *… in homographyFromSquarePoints()
564 … halfLength * (p1x * p2y * p3y - p3x * p1y * p2y - p2x * p1y * p4y + p4x * p1y * p2y - p1x * p3y *… in homographyFromSquarePoints()
785 double p1x,p1y,p1z; in computeObjextSpaceR3Pts() local
793 p1y = objectPoints.at<Vec3f>(0)[1]; in computeObjextSpaceR3Pts()
807 p1y = objectPoints.at<Vec3d>(0)[1]; in computeObjextSpaceR3Pts()
819 double nx = (p1y - p2y)*(p1z - p3z) - (p1y - p3y)*(p1z - p2z); in computeObjextSpaceR3Pts()
[all …]
/dports/graphics/geos/geos-3.9.1/tests/unit/algorithm/
H A DIntersectionTest.cpp46 void checkIntersectionNull(double p1x, double p1y, double p2x, double p2y, in checkIntersectionNull()
48 Coordinate p1(p1x, p1y); in checkIntersectionNull()
56 void checkIntersection(double p1x, double p1y, double p2x, double p2y, in checkIntersection()
59 Coordinate p1(p1x, p1y); in checkIntersection()
/dports/math/jts/jts-jts-1.18.1/modules/core/src/test/java/org/locationtech/jts/algorithm/
H A DIntersectionTest.java52 private void checkIntersection(double p1x, double p1y, double p2x, double p2y, in checkIntersection() argument
55 Coordinate p1 = new Coordinate(p1x, p1y); in checkIntersection()
67 private void checkIntersectionNull(double p1x, double p1y, double p2x, double p2y, in checkIntersectionNull() argument
69 Coordinate p1 = new Coordinate(p1x, p1y); in checkIntersectionNull()
/dports/audio/praat/praat-6.2.03/dwtest/
H A Dtest_Polygon_simplify.praat8 p1y = Get value in cell... 2 1
14 p1y = Get value in cell... 2 i
21 yn = p1y + af*(p2y-p1y)
/dports/cad/opencascade/opencascade-7.6.0/tests/lowalgos/2dinter/
H A Dbug2559314 regexp {Intersection point 1 : +([-0-9.+eE]+) +([-0-9.+eE]+)} $info1 full p1x p1y
47 puts "p1x=$p1x p1y=$p1y par1f=$par1f $par1s"
49 set sqd [expr ($p1x-$p2x)*($p1x-$p2x)+($p1y-$p2y)*($p1y-$p2y)]
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/libzrtp/src/
H A Dzrtp_crypto_ec.c82 struct BigNum *p1x, struct BigNum *p1y, in zrtp_ecAdd() argument
92 if (bnCmp (p1x, &bnzero) == 0 && bnCmp (p1y, &bnzero) == 0) { in zrtp_ecAdd()
98 bnCopy (rsltx, p1x); bnCopy (rslty, p1y); in zrtp_ecAdd()
124 if (bnCmp (p1x, p2x) == 0 && bnCmp (p1y, p2y) == 0) { in zrtp_ecAdd()
125 bnCopy (&t1, p1y); in zrtp_ecAdd()
126 bnAddMod_ (&t1, p1y, mod); in zrtp_ecAdd()
137 bnSubMod_ (&gam, p1y, mod); in zrtp_ecAdd()
148 bnSubMod_ (&trslty, p1y, mod); in zrtp_ecAdd()
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/lib/hotint/HotInt_V1/ElementsLib/modal_reduction/
H A DCMSElement2D.cpp3103 *p2y+2.0*p2y*u2y-2.0*p2y*p1y-2.0*p2y*u1y+u2y*u2y-2.0*u2y*p1y-2.0*u2y*u1y+p1y* in ComputeDAijDq()
3104 p1y+2.0*p1y*u1y+u1y*u1y,3.0)); in ComputeDAijDq()
3108 *u1y+p1y*p1y+2.0*p1y*u1y+u1y*u1y,3.0)); in ComputeDAijDq()
3109 dcsphi2(1) = (-2.0*u2y*p1y+2.0*p1y*u1y+2.0*p2y*u2y-2.0*p2y*p1y+p2y*p2y+u1y*u1y in ComputeDAijDq()
3112 *p2y+2.0*p2y*u2y-2.0*p2y*p1y-2.0*p2y*u1y+u2y*u2y-2.0*u2y*p1y-2.0*u2y*u1y+p1y* in ComputeDAijDq()
3113 p1y+2.0*p1y*u1y+u1y*u1y,3.0)); in ComputeDAijDq()
3117 *u1y+p1y*p1y+2.0*p1y*u1y+u1y*u1y,3.0)); in ComputeDAijDq()
3126 *u1y+p1y*p1y+2.0*p1y*u1y+u1y*u1y,3.0)); in ComputeDAijDq()
3131 p1y+2.0*p1y*u1y+u1y*u1y,3.0)); in ComputeDAijDq()
3135 *u1y+p1y*p1y+2.0*p1y*u1y+u1y*u1y,3.0)); in ComputeDAijDq()
[all …]

12345678910>>...20