Lines Matching refs:other_one
147 bool Inkscape::SnappedPoint::isOtherSnapBetter(Inkscape::SnappedPoint const &other_one, bool weighted) const
150 if (getSnapped() && !other_one.getSnapped()) {
154 if (!getSnapped() && other_one.getSnapped()) {
158 double dist_other = other_one.getSnapDistance();
165 Geom::Coord const dist_pointer_other = other_one.getPointerDistance();
186 double const norm_t_other = std::min(50.0, other_one.getTolerance());
196 if (other_one.getTarget() == SNAPTARGET_CONSTRAINT) {
206 bool c2 = other_one.getAlwaysSnap() && !getAlwaysSnap();
208 bool c2n = !other_one.getAlwaysSnap() && getAlwaysSnap();
210 bool c3 = (other_one.getFullyConstrained() && !other_one.getConstrainedSnap()) && !getFullyConstrained(); // Do not consider constrained snaps here, because these will always be fully constrained anyway
212 bool c3n = !other_one.getFullyConstrained() && (getFullyConstrained() && !getConstrainedSnap());
215 bool d = other_one.getFullyConstrained() && getFullyConstrained() && (Geom::L2(other_one.getPoint() - getPoint()) < 1e-9);
216 bool c4 = d && !other_one.getAtIntersection() && getAtIntersection();
218 bool c4n = d && other_one.getAtIntersection() && !getAtIntersection();
222 bool c5b = (other_one.getSecondSnapDistance() < getSecondSnapDistance()) && (getSecondSnapDistance() < Geom::infinity());
224 bool c5c = !other_one.getConstrainedSnap() && getConstrainedSnap();
229 std::cout << other_one.getPoint() << " (Other one, dist = " << dist_other << ") vs. " << getPoint() << " (this one, dist = " << dist_this << ") ---> ";