Searched refs:dist2 (Results 1 - 4 of 4) sorted by relevance
/inkscape/src/libavoid/ |
H A D | visibility.cpp | 249 vInf1(NULL), vInf2(NULL), dist1(0.0), dist2(0.0), angle(0.0), 260 dist2(euclideanDist(vInf2->point, centerPoint)), 270 return (dist2 < rhs.dist2); 309 angleDist = dist2; 323 angleDist = std::min(dist1, dist2); 337 double dist2; member in class:Avoid::EdgePair
|
/inkscape/src/helper/ |
H A D | geom.cpp | 206 Geom::Coord dist2; local 221 dist2 = (Px - Ax) * (Px - Ax) + (Py - Ay) * (Py - Ay); 223 dist2 = (Px - Bx) * (Px - Bx) + (Py - By) * (Py - By); 228 dist2 = (Px - Qx) * (Px - Qx) + (Py - Qy) * (Py - Qy); 231 if (dist2 < (*best * *best)) *best = sqrt (dist2);
|
/inkscape/src/2geom/ |
H A D | conicsec.cpp | 864 double dist2 = distance (_vertex, _focus2); local 866 if (t < 0) dist2 = -dist2; 868 // std::cout << "dist2 = " << dist2 << std::endl; 869 set (_vertex, angle, dist1, dist2); 876 double dist2 = L2(VF); local 877 set (_vertex, angle, dist1, dist2);
|
/inkscape/src/ |
H A D | object-snapper.cpp | 341 Geom::Coord dist2 = Geom::L2(p - p_proj); // distance from projection of node on the guide, to the mouse location local 342 if ((dist < tol && dist2 < tol) || getSnapperAlwaysSnap()) {
|
Completed in 3860 milliseconds