/dports/math/openturns/openturns-1.18/lib/test/ |
H A D | t_Distribution_draw.cxx | 76 graphPDF = dist2D.drawPDF(); in main() 80 graphPDF = dist2D.drawPDF(Point(2, -4.0), Point(2, 4.0)); in main() 82 graphPDF = dist2D.drawPDF(Indices(2, 101)); in main() 85 graphLogPDF = dist2D.drawLogPDF(); in main() 91 graphLogPDF = dist2D.drawLogPDF(Indices(2, 101)); in main() 94 graphCDF = dist2D.drawCDF(); in main() 100 graphCDF = dist2D.drawCDF(Indices(2, 101)); in main() 119 graphQuantile = dist2D.drawQuantile(); in main() 121 graphQuantile = dist2D.drawQuantile(101); in main() 123 graphQuantile = dist2D.drawQuantile(0.1, 0.9, 101); in main() [all …]
|
/dports/math/openturns/openturns-1.18/python/test/ |
H A D | t_Distribution_draw.py | 11 dist2D = Normal(Point(2, 2.0), variable 45 graphPDF = dist2D.drawPDF() 49 graphPDF = dist2D.drawPDF([-4.0, -4.0], [4.0, 4.0]) 51 graphPDF = dist2D.drawPDF([101, 101]) 54 graphLogPDF = dist2D.drawLogPDF() 58 graphLogPDF = dist2D.drawLogPDF([-4.0, -4.0], [4.0, 4.0]) 60 graphLogPDF = dist2D.drawLogPDF([101, 101]) 63 graphCDF = dist2D.drawCDF() 67 graphCDF = dist2D.drawCDF([-4.0, -4.0], [4.0, 4.0]) 69 graphCDF = dist2D.drawCDF([101, 101]) [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/trecision/ |
H A D | pathfinding3d.cpp | 110 float dist = _vm->dist2D(actor->_px, actor->_pz, _curX, _curZ); in findPath() 228 _vm->dist2D(_x3d, _z3d, _curX, _curZ) > EPSILON) in findPath() 236 _vm->dist2D(_x3d, _z3d, _curX, _curZ) > EPSILON) in findPath() 246 _vm->dist2D(_x3d, _z3d, _curX, _curZ) > EPSILON) in findPath() 254 _vm->dist2D(_x3d, _z3d, _curX, _curZ) > EPSILON) in findPath() 568 len += _vm->dist2D(curX, curZ, destX, destZ); in evalPath() 580 len += _vm->dist2D(curX, curZ, destX, destZ); in evalPath() 1449 temp = _vm->dist2D(_curX, _curZ, panel->_x1, panel->_z1); in pointOut() 1490 temp = _vm->dist2D(_curX, _curZ, _x3d, _z3d); in pointOut() 1502 temp = _vm->dist2D(_curX, _curZ, _x3d, _z3d); in pointOut() [all …]
|
H A D | trecision.h | 207 float dist2D(float x1, float y1, float x2, float y2);
|
H A D | utils.cpp | 240 float TrecisionEngine::dist2D(float x1, float y1, float x2, float y2) { in dist2D() function in Trecision::TrecisionEngine
|
/dports/print/scribus-devel/scribus-1.5.7/scribus/ |
H A D | pageitem_osgframe.cpp | 170 …double dist2D = sqrt((pos1[0] - pos2[0]) * (pos1[0] - pos2[0]) + (pos1[1] - pos2[1]) * (pos1[1] - … in getDistance() local 171 return sqrt(dist2D * dist2D + (pos1[2] - pos2[2]) * (pos1[2] - pos2[2])); in getDistance()
|
/dports/games/spring/spring_98.0/rts/Sim/MoveTypes/ |
H A D | ClassicGroundMoveType.cpp | 863 float dist2D; in Distance2D() local 866 dist2D = distVec.Length2D() - (object1->xsize + object2->xsize) * SQUARE_SIZE / 2 + 2 * marginal; in Distance2D() 876 dist2D = distVec.Length2D(); in Distance2D() 878 dist2D = -distVec.Length2D(); in Distance2D() 880 dist2D = distVec.x; in Distance2D() 882 dist2D = distVec.z; in Distance2D() 886 return dist2D; in Distance2D()
|
H A D | GroundMoveType.cpp | 1195 float dist2D = 0.0f; 1204 dist2D = distVec.Length2D() - xs + 2.0f * marginal; 1216 dist2D = distVec.Length2D(); 1218 dist2D = -distVec.Length2D(); 1220 dist2D = distVec.x; 1222 dist2D = distVec.z; 1226 return dist2D;
|
/dports/games/torcs/torcs-1.3.7/src/drivers/berniw2/ |
H A D | berniw2.cpp | 386 …if ((myc->getSpeed() < myc->TURNSPEED) && (parallel < cos(90.0*PI/180.0)) && (mpf->dist2D(myc->ge… in drive() 401 …if (parallel < cos(90.0*PI/180.0) && (mpf->dist2D(myc->getCurrentPos(), mpf->getPathSeg(myc->getCu… in drive()
|
H A D | pathfinder.h | 152 inline double dist2D(v3d* a, v3d* b) { return sqrt(sqr(a->x-b->x) + sqr(a->y-b->y)); } in dist2D() function
|
/dports/games/torcs/torcs-1.3.7/src/drivers/berniw/ |
H A D | berniw.cpp | 384 …if ((myc->getSpeed() < myc->TURNSPEED) && (parallel < cos(90.0*PI/180.0)) && (mpf->dist2D(myc->ge… in drive() 399 …if (parallel < cos(90.0*PI/180.0) && (mpf->dist2D(myc->getCurrentPos(), mpf->getPathSeg(myc->getCu… in drive()
|
H A D | pathfinder.h | 152 inline double dist2D(v3d* a, v3d* b) { return sqrt(sqr(a->x-b->x) + sqr(a->y-b->y)); } in dist2D() function
|
/dports/games/torcs/torcs-1.3.7/src/drivers/berniw3/ |
H A D | berniw3.cpp | 384 …if ((myc->getSpeed() < myc->TURNSPEED) && (parallel < cos(90.0*PI/180.0)) && (mpf->dist2D(myc->ge… in drive() 399 …if (parallel < cos(90.0*PI/180.0) && (mpf->dist2D(myc->getCurrentPos(), mpf->getPathSeg(myc->getCu… in drive()
|
H A D | pathfinder.h | 152 inline double dist2D(v3d* a, v3d* b) { return sqrt(sqr(a->x-b->x) + sqr(a->y-b->y)); } in dist2D() function
|
/dports/games/torcs/torcs-1.3.7/src/drivers/tita/ |
H A D | tita.cpp | 415 …if ((myc->getSpeed() < myc->TURNSPEED) && (parallel < cos(90.0*PI/180.0)) && (mpf->dist2D(myc->ge… in drive() 430 …if (parallel < cos(90.0*PI/180.0) && (mpf->dist2D(myc->getCurrentPos(), myc->dynpath->getLoc(myc->… in drive()
|
H A D | pathfinder.h | 241 inline double dist2D(vec2d* a, vec2d* b) { return sqrt(sqr(a->x-b->x) + sqr(a->y-b->y)); } in dist2D() function
|
/dports/games/torcs/torcs-1.3.7/src/drivers/inferno/ |
H A D | inferno.cpp | 415 …if ((myc->getSpeed() < myc->TURNSPEED) && (parallel < cos(90.0*PI/180.0)) && (mpf->dist2D(myc->ge… in drive() 430 …if (parallel < cos(90.0*PI/180.0) && (mpf->dist2D(myc->getCurrentPos(), myc->dynpath->getLoc(myc->… in drive()
|
H A D | pathfinder.h | 241 inline double dist2D(vec2d* a, vec2d* b) { return sqrt(sqr(a->x-b->x) + sqr(a->y-b->y)); } in dist2D() function
|
/dports/games/torcs/torcs-1.3.7/src/drivers/lliaw/ |
H A D | lliaw.cpp | 415 …if ((myc->getSpeed() < myc->TURNSPEED) && (parallel < cos(90.0*PI/180.0)) && (mpf->dist2D(myc->ge… in drive() 430 …if (parallel < cos(90.0*PI/180.0) && (mpf->dist2D(myc->getCurrentPos(), myc->dynpath->getLoc(myc->… in drive()
|
H A D | pathfinder.h | 241 inline double dist2D(vec2d* a, vec2d* b) { return sqrt(sqr(a->x-b->x) + sqr(a->y-b->y)); } in dist2D() function
|
/dports/cad/sumo/sumo-1.2.0/src/utils/geom/ |
H A D | PositionVector.cpp | 1627 const double dist2D = p1.distanceTo2D(p2); in getMaxGrade() local 1628 if (dist2D == 0) { in getMaxGrade() 1631 result = MAX2(result, distZ / dist2D); in getMaxGrade()
|
/dports/games/spring/spring_98.0/rts/Game/ |
H A D | GameHelper.cpp | 710 const float dist2D = (pos - targPos).Length2D(); in GenerateWeaponTargets() local 711 const float rangeMul = (dist2D * weaponDef->proximityPriority + modRange * 0.4f + 100.0f); in GenerateWeaponTargets()
|
/dports/science/openbabel/openbabel-3.1.1/src/formats/libinchi/ |
H A D | strutil.c | 83 double dist2D( inp_ATOM *at1, inp_ATOM *at2 );
|