Lines Matching defs:dist
44 Geom::Coord const dist = Geom::L2(p_proj - p.getPoint());
46 if (dist < getSnapperTolerance()) {
47 _addSnappedLine(isr, p_proj, dist, p.getSourceType(), p.getSourceNum(), i->first, i->second);
77 Geom::Coord dist = Geom::L2(origin_proj - p.getPoint());
78 if (dist < getSnapperTolerance()) {
79 _addSnappedLinePerpendicularly(isr, origin_proj, dist, p.getSourceType(), p.getSourceNum(), false);
84 // std::cout << " -> distance = " << dist;
117 Geom::Coord dist = Geom::L2(p_proj - origin); // distance from circle origin to constraint line
119 if (dist == radius) {
122 } else if (dist < radius) {
125 Geom::Coord l = sqrt(radius*radius - dist*dist);
149 const Geom::Coord dist = Geom::L2(t - p.getPoint());
150 if (dist < getSnapperTolerance()) {
155 _addSnappedPoint(isr, t, dist, p.getSourceType(), p.getSourceNum(), true);