Searched defs:p_proj (Results 1 - 2 of 2) sorted by relevance

/inkscape/src/
H A Dline-snapper.cpp43 Geom::Point const p_proj = Geom::projection(p.getPoint(), Geom::Line(p1, p2)); member in class:Geom
44 Geom::Coord const dist = Geom::L2(p_proj - p.getPoint());
47 _addSnappedLine(isr, p_proj, dist, p.getSourceType(), p.getSourceNum(), i->first, i->second);
116 Geom::Point const p_proj = Geom::projection(origin, gridguide_line); member in class:Geom
117 Geom::Coord dist = Geom::L2(p_proj - origin); // distance from circle origin to constraint line
121 _addSnappedPoint(isr, p_proj, Geom::L2(pp - p_proj), p.getSourceType(), p.getSourceNum(), true);
129 _addSnappedPoint(isr, p_proj + v, Geom::L2(p.getPoint() - (p_proj + v)), p.getSourceType(), p.getSourceNum(), true);
130 _addSnappedPoint(isr, p_proj
[all...]
H A Dobject-snapper.cpp339 Geom::Point p_proj = Geom::projection(target_pt, Geom::Line(p, p + Geom::rot90(guide_normal))); local
340 Geom::Coord dist = Geom::L2(target_pt - p_proj); // distance from node to the guide
341 Geom::Coord dist2 = Geom::L2(p - p_proj); // distance from projection of node on the guide, to the mouse location

Completed in 22 milliseconds