Home
last modified time | relevance | path

Searched refs:p2x (Results 101 – 125 of 570) sorted by relevance

12345678910>>...23

/dports/java/jgraphx/jgraphx-4.2.2/src/com/mxgraph/shape/
H A DmxArrowShape.java46 double p2x = p1x + basex; in createShape() local
48 double p3x = p2x + floorx; in createShape()
57 poly.addPoint((int) Math.round(p2x), (int) Math.round(p2y)); in createShape()
/dports/math/jts/jts-jts-1.18.1/modules/core/src/main/java/org/locationtech/jts/algorithm/
H A DIntersection.java68 double p2x = p2.x - midx; in intersection()
77 double py = p2x - p1x; in intersection()
78 double pw = p1x * p2y - p2x * p1y; in intersection()
/dports/graphics/opencollada/OpenCOLLADA-1.6.68/Externals/MayaDataModel/include/
H A DMayaDMMakeThreePointCircularArc.h54 void setPoint2X(double p2x) in setPoint2X() argument
56 if(p2x == 0) return; in setPoint2X()
57 fprintf(mFile,"\tsetAttr \".pt2.p2x\" %f;\n", p2x); in setPoint2X()
H A DMayaDMMakeTwoPointCircularArc.h54 void setPoint2X(double p2x) in setPoint2X() argument
56 if(p2x == 1) return; in setPoint2X()
57 fprintf(mFile,"\tsetAttr \".pt2.p2x\" %f;\n", p2x); in setPoint2X()
/dports/graphics/geos/geos-3.9.1/src/algorithm/
H A DIntersection.cpp50 double p2x = p2.x - midx; in intersection() local
59 double py = p2x - p1x; in intersection()
60 double pw = p1x * p2y - p2x * p1y; in intersection()
/dports/science/mcstas-comps/mcstas-comps-2.5-src/contrib/
H A DPol_bender_tapering.comp325 p2x= entry_radius*sin(dx2/entry_radius);
364 D2=sqrt( (q2x-p2x)*(q2x-p2x) + (q2z-p2z)*(q2z-p2z) ) ;
370 c2x= p2x + 0.5*(q2x-p2x) + h2/D2 * (q2z-p2z); /*negative*/
371 c2z= p2z + 0.5*(q2z-p2z) + h2/D2 * -(q2x-p2x);
377 r2x=c2x + cphi*(p2x-c2x) + sphi*(p2z-c2z);
378 r2z=c2z - sphi*(p2x-c2x) + cphi*(p2z-c2z);
592 D2=sqrt( (q2x-p2x)*(q2x-p2x) + (q2z-p2z)*(q2z-p2z) ) ;
598 c2x= p2x + 0.5*(q2x-p2x) + h2/D2 * (q2z-p2z); /*negative*/
606 ro2x=p2x;
616 r2x=c2x + cphi*(p2x-c2x) + sphi*(p2z-c2z);
[all …]
/dports/games/openmortal/openmortal-0.7/data/script/
H A DCollision.pl10 my($dx1, $dx2, $dy1, $dy2, $p0x, $p0y, $p1x, $p1y, $p2x, $p2y);
15 ($p0x, $p0y, $p1x, $p1y, $p2x, $p2y) = @points;
19 $dx2 = $p2x - $p0x;
/dports/math/jts/jts-jts-1.18.1/modules/core/src/test/java/org/locationtech/jts/geom/util/
H A DAffineTransformationBuilderTest.java104 double p2x, double p2y, in run() argument
112 Coordinate p2 = new Coordinate(p2x, p2y); in run()
168 double p2x, double p2y, in runSingular() argument
176 Coordinate p2 = new Coordinate(p2x, p2y); in runSingular()
/dports/devel/emscripten/emscripten-2.0.3/tests/core/
H A Dtest_libgen.c16 char p2[16] = "/usr", p2x[16] = "/usr"; in main() local
18 printf("%s : %s\n", dirname(p2x), basename(p2)); in main()
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/gpu/
H A DGrDistanceFieldGenFromVector.cpp250 const double p2x = p2.x(); in init() local
259 const double cosTheta = (p2x - p0x) / hypotenuse; in init()
286 const double p2xSqd = p2x * p2x; in init()
292 const double p02xProd = p0x * p2x; in init()
293 const double b12xProd = p1x * p2x; in init()
300 const double h = -1.0 * (p0y - (2.0 * p1y) + p2y) * (p0x - (2.0 * p1x) + p2x); in init()
301 const double sqrtB = p0x - (2.0 * p1x) + p2x; in init()
310 + (2.0 * p1x * b12yProd) - (p2x * p0ySqd) in init()
311 + (2.0 * p2x * p01yProd) + (p2x * p02yProd) in init()
312 - (2.0 * p2x * p1ySqd); in init()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/gpu/
H A DGrDistanceFieldGenFromVector.cpp220 const double p2x = p2.fX; in init() local
229 const double cosTheta = (p2x - p0x) / hypotenuse; in init()
257 const double p2xSqd = p2x * p2x; in init()
263 const double p02xProd = p0x * p2x; in init()
264 const double b12xProd = p1x * p2x; in init()
272 const double h = -1.0 * (p0y - (2.0 * p1y) + p2y) * (p0x - (2.0 * p1x) + p2x); in init()
273 const double sqrtB = p0x - (2.0 * p1x) + p2x; in init()
282 + (2.0 * p1x * b12yProd) - (p2x * p0ySqd) in init()
283 + (2.0 * p2x * p01yProd) + (p2x * p02yProd) in init()
284 - (2.0 * p2x * p1ySqd); in init()
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/gpu/
H A DGrDistanceFieldGenFromVector.cpp250 const double p2x = p2.x(); in init() local
259 const double cosTheta = (p2x - p0x) / hypotenuse; in init()
286 const double p2xSqd = p2x * p2x; in init()
292 const double p02xProd = p0x * p2x; in init()
293 const double b12xProd = p1x * p2x; in init()
300 const double h = -1.0 * (p0y - (2.0 * p1y) + p2y) * (p0x - (2.0 * p1x) + p2x); in init()
301 const double sqrtB = p0x - (2.0 * p1x) + p2x; in init()
310 + (2.0 * p1x * b12yProd) - (p2x * p0ySqd) in init()
311 + (2.0 * p2x * p01yProd) + (p2x * p02yProd) in init()
312 - (2.0 * p2x * p1ySqd); in init()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/gpu/
H A DGrDistanceFieldGenFromVector.cpp250 const double p2x = p2.x(); in init() local
259 const double cosTheta = (p2x - p0x) / hypotenuse; in init()
286 const double p2xSqd = p2x * p2x; in init()
292 const double p02xProd = p0x * p2x; in init()
293 const double b12xProd = p1x * p2x; in init()
300 const double h = -1.0 * (p0y - (2.0 * p1y) + p2y) * (p0x - (2.0 * p1x) + p2x); in init()
301 const double sqrtB = p0x - (2.0 * p1x) + p2x; in init()
310 + (2.0 * p1x * b12yProd) - (p2x * p0ySqd) in init()
311 + (2.0 * p2x * p01yProd) + (p2x * p02yProd) in init()
312 - (2.0 * p2x * p1ySqd); in init()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/skia/skia/src/gpu/
H A DGrDistanceFieldGenFromVector.cpp250 const double p2x = p2.x(); in init() local
259 const double cosTheta = (p2x - p0x) / hypotenuse; in init()
286 const double p2xSqd = p2x * p2x; in init()
292 const double p02xProd = p0x * p2x; in init()
293 const double b12xProd = p1x * p2x; in init()
300 const double h = -1.0 * (p0y - (2.0 * p1y) + p2y) * (p0x - (2.0 * p1x) + p2x); in init()
301 const double sqrtB = p0x - (2.0 * p1x) + p2x; in init()
310 + (2.0 * p1x * b12yProd) - (p2x * p0ySqd) in init()
311 + (2.0 * p2x * p01yProd) + (p2x * p02yProd) in init()
312 - (2.0 * p2x * p1ySqd); in init()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/
H A DGrDistanceFieldGenFromVector.cpp221 const double p2x = p2.fX; in init() local
230 const double cosTheta = (p2x - p0x) / hypotenuse; in init()
258 const double p2xSqd = p2x * p2x; in init()
264 const double p02xProd = p0x * p2x; in init()
265 const double b12xProd = p1x * p2x; in init()
273 const double h = -1.0 * (p0y - (2.0 * p1y) + p2y) * (p0x - (2.0 * p1x) + p2x); in init()
274 const double sqrtB = p0x - (2.0 * p1x) + p2x; in init()
283 + (2.0 * p1x * b12yProd) - (p2x * p0ySqd) in init()
284 + (2.0 * p2x * p01yProd) + (p2x * p02yProd) in init()
285 - (2.0 * p2x * p1ySqd); in init()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/gpu/
H A DGrDistanceFieldGenFromVector.cpp250 const double p2x = p2.x(); in init() local
259 const double cosTheta = (p2x - p0x) / hypotenuse; in init()
286 const double p2xSqd = p2x * p2x; in init()
292 const double p02xProd = p0x * p2x; in init()
293 const double b12xProd = p1x * p2x; in init()
300 const double h = -1.0 * (p0y - (2.0 * p1y) + p2y) * (p0x - (2.0 * p1x) + p2x); in init()
301 const double sqrtB = p0x - (2.0 * p1x) + p2x; in init()
310 + (2.0 * p1x * b12yProd) - (p2x * p0ySqd) in init()
311 + (2.0 * p2x * p01yProd) + (p2x * p02yProd) in init()
312 - (2.0 * p2x * p1ySqd); in init()
/dports/games/kodi-addon-game.libretro.beetle-psx/game.libretro.beetle-psx-0.9.44.22-Matrix/depends/common/beetle-psx/rsx/
H A Drsx_intf.cpp557 float p2x, float p2y, float p2w, in rsx_intf_push_triangle() argument
579 { p2x, p2y, p2w, c2, t2x, t2y }, in rsx_intf_push_triangle()
594 rsx_gl_push_triangle(p0x, p0y, p0w, p1x, p1y, p1w, p2x, p2y, p2w, in rsx_intf_push_triangle()
606 rsx_vulkan_push_triangle(p0x, p0y, p0w, p1x, p1y, p1w, p2x, p2y, p2w, in rsx_intf_push_triangle()
622 float p2x, float p2y, float p2w, in rsx_intf_push_quad() argument
646 { p2x, p2y, p2w, c2, t2x, t2y }, in rsx_intf_push_quad()
662 rsx_gl_push_quad(p0x, p0y, p0w, p1x, p1y, p1w, p2x, p2y, p2w, p3x, p3y, p3w, in rsx_intf_push_quad()
675 rsx_vulkan_push_quad(p0x, p0y, p0w, p1x, p1y, p1w, p2x, p2y, p2w, p3x, p3y, p3w, in rsx_intf_push_quad()
/dports/games/libretro-beetle_psx/beetle-psx-libretro-3ec155d/rsx/
H A Drsx_intf.cpp557 float p2x, float p2y, float p2w, in rsx_intf_push_triangle() argument
579 { p2x, p2y, p2w, c2, t2x, t2y }, in rsx_intf_push_triangle()
594 rsx_gl_push_triangle(p0x, p0y, p0w, p1x, p1y, p1w, p2x, p2y, p2w, in rsx_intf_push_triangle()
606 rsx_vulkan_push_triangle(p0x, p0y, p0w, p1x, p1y, p1w, p2x, p2y, p2w, in rsx_intf_push_triangle()
622 float p2x, float p2y, float p2w, in rsx_intf_push_quad() argument
646 { p2x, p2y, p2w, c2, t2x, t2y }, in rsx_intf_push_quad()
662 rsx_gl_push_quad(p0x, p0y, p0w, p1x, p1y, p1w, p2x, p2y, p2w, p3x, p3y, p3w, in rsx_intf_push_quad()
675 rsx_vulkan_push_quad(p0x, p0y, p0w, p1x, p1y, p1w, p2x, p2y, p2w, p3x, p3y, p3w, in rsx_intf_push_quad()
/dports/science/chrono/chrono-7.0.1/src/demos/vehicle/
H A DrenderZ.pov439 #read (MyDataFile, ar, p1x, p1y, p1z, p2x, p2y, p2z)
440 #if (p1x = p2x & p1y = p2y & p1z = p2z)
445 <p1x,p1z,p1y>, <p2x,p2z,p2y>, ar
575 #read (MyDataFile, p1x, p1y, p1z, p2x, p2y, p2z)
577 // <p1x,p1z,p1y>, <p2x,p2z,p2y>, spring_radius
584 #read (MyDataFile, p1x, p1y, p1z, p2x, p2y, p2z)
601 #read (MyDataFile, p1x, p1y, p1z, p2x, p2y, p2z)
610 #read (MyDataFile, p1x, p1y, p1z, p2x, p2y, p2z)
629 #read (MyDataFile, tsda, p1x, p1y, p1z, p2x, p2y, p2z)
635 <p1x,p1z,p1y>, <p2x,p2z,p2y>, damper_radius
[all …]
/dports/cad/k40-whisperer/K40_Whisperer-0.58_src/
H A Dcspsubdiv.py6 ((p0x,p0y),(p1x,p1y),(p2x,p2y),(p3x,p3y)) = xxx_todo_changeme
9 p2 = Point(p2x,p2y)
/dports/x11-toolkits/p5-Tk/Tk-804.035/pTk/mTk/generic/
H A DtkTrig.c1339 double p1x, p1y, p2x, p2y, p3x, p3y; local
1350 p2x = floor(p2[0]+0.5);
1356 theta1 = (p2x < p1x) ? 0 : PI;
1357 } else if (p2x == p1x) {
1360 theta1 = atan2(p1y - p2y, p1x - p2x);
1363 theta2 = (p3x > p2x) ? 0 : PI;
1364 } else if (p3x == p2x) {
1367 theta2 = atan2(p3y - p2y, p3x - p2x);
1393 m1[0] = p2x + deltaX;
1394 m2[0] = p2x - deltaX;
/dports/games/sdb/sdb-1.0.2/src/
H A Dlevelobjects.h122 …Wall(float p1x, float p1y, float p2x, float p2y, float r, float g, float b, float a, float h, floa… in Wall() argument
123 { set(p1x, p1y, p2x, p2y, r, g, b, a, h, frc, hlth, pt, pq, lt, cf, tr, tt); } in Wall()
124 …void set(float p1x, float p1y, float p2x, float p2y, float r, float g, float b, float a, float h, … in set() argument
125 …{ drawn = false; p1.set(p1x, p1y); p2.set(p2x, p2y); setColor(r, g, b, a); force = frc; health = h… in set()
223 …Door(float p1x, float p1y, float p2x, float p2y, float r, float g, float b, float a, float h, floa…
/dports/graphics/openrm/rmdemo/
H A Djack.c173 float p2x, in my_cylinder() argument
185 v[1].x = p2x; in my_cylinder()
202 float p2x, in my_cone() argument
214 v[1].x = p2x; in my_cone()
/dports/x11-toolkits/tk87/tk8.7a5/generic/
H A DtkTrig.c1598 double p1x, p1y, p2x, p2y, p3x, p3y; in TkGetMiterPoints() local
1613 p2x = floor(p2[0]+0.5); in TkGetMiterPoints()
1619 theta1 = (p2x < p1x) ? 0 : PI; in TkGetMiterPoints()
1620 } else if (p2x == p1x) { in TkGetMiterPoints()
1623 theta1 = atan2(p1y - p2y, p1x - p2x); in TkGetMiterPoints()
1627 theta2 = (p3x > p2x) ? 0 : PI; in TkGetMiterPoints()
1628 } else if (p3x == p2x) { in TkGetMiterPoints()
1631 theta2 = atan2(p3y - p2y, p3x - p2x); in TkGetMiterPoints()
1660 m1[0] = p2x + deltaX; in TkGetMiterPoints()
1661 m2[0] = p2x - deltaX; in TkGetMiterPoints()
/dports/x11-toolkits/tk86/tk8.6.12/generic/
H A DtkTrig.c1601 double p1x, p1y, p2x, p2y, p3x, p3y; in TkGetMiterPoints() local
1616 p2x = floor(p2[0]+0.5); in TkGetMiterPoints()
1622 theta1 = (p2x < p1x) ? 0 : PI; in TkGetMiterPoints()
1623 } else if (p2x == p1x) { in TkGetMiterPoints()
1626 theta1 = atan2(p1y - p2y, p1x - p2x); in TkGetMiterPoints()
1630 theta2 = (p3x > p2x) ? 0 : PI; in TkGetMiterPoints()
1631 } else if (p3x == p2x) { in TkGetMiterPoints()
1634 theta2 = atan2(p3y - p2y, p3x - p2x); in TkGetMiterPoints()
1663 m1[0] = p2x + deltaX; in TkGetMiterPoints()
1664 m2[0] = p2x - deltaX; in TkGetMiterPoints()

12345678910>>...23