Lines Matching refs:best_p
73 Geom::Point best_p = Geom::Point(Geom::infinity(), Geom::infinity());
89 best_p = p_ix;
99 best_p = best_p * dt2doc;
101 Geom::Coord primaryDist = use_this_as_primary ? Geom::L2(best_p - this->getPoint()) : Geom::L2(best_p - curve.getPoint());
102 Geom::Coord secondaryDist = use_this_as_primary ? Geom::L2(best_p - curve.getPoint()) : Geom::L2(best_p - this->getPoint());
106 return SnappedPoint(best_p, Inkscape::SNAPSOURCE_UNDEFINED, primaryC->getSourceNum(), Inkscape::SNAPTARGET_PATH_INTERSECTION, primaryDist, primaryC->getTolerance(), primaryC->getAlwaysSnap(), true, false, true,
134 Geom::Point best_p = Geom::Point(Geom::infinity(), Geom::infinity());
141 best_p = p_ix;
146 best_p = best_p * dt2doc;
151 return SnappedPoint(best_p, Inkscape::SNAPSOURCE_UNDEFINED, this->getSourceNum(), Inkscape::SNAPTARGET_PATH_GUIDE_INTERSECTION,
152 Geom::L2(best_p - this->getPoint()), this->getTolerance(), this->getAlwaysSnap(), true, false, true,
153 Geom::L2(best_p - line.getPoint()), line.getTolerance(), line.getAlwaysSnap());
155 return SnappedPoint(best_p, Inkscape::SNAPSOURCE_UNDEFINED, line.getSourceNum(), Inkscape::SNAPTARGET_PATH_GUIDE_INTERSECTION,
156 Geom::L2(best_p - line.getPoint()), line.getTolerance(), line.getAlwaysSnap(), true, false, true,
157 Geom::L2(best_p - this->getPoint()), this->getTolerance(), this->getAlwaysSnap());