Lines Matching refs:dir
249 Geom::Point dir = Geom::unit_vector(relativePos());
250 setRelativePos(dir * len);
263 void Handle::setDirection(Geom::Point const &dir)
265 Geom::Point unitdir = Geom::unit_vector(dir);
770 // "dir" is an unit vector perpendicular to the bisector of the angle created
772 Geom::Point dir = Geom::unit_vector((len_prev / len_next) * vec_next - vec_prev);
774 _back.setRelativePos(-dir * (len_prev / 3));
775 _front.setRelativePos(dir * (len_next / 3));
851 Geom::Point dir = direction(_back, *this);
852 _front.setRelativePos(Geom::distance(_prev()->position(), position()) / 3 * dir);
858 Geom::Point dir = direction(_front, *this);
859 _back.setRelativePos(Geom::distance(_next()->position(), position()) / 3 * dir);
880 Geom::Point dir = Geom::unit_vector((len_prev / len_next) * vec_next - vec_prev);
881 _back.setRelativePos(-dir * len);
882 _front.setRelativePos(dir * len);
887 Geom::Point dir = direction(_back, _front);
888 _front.setRelativePos(dir * len);
889 _back.setRelativePos(-dir * len);
982 int dir = 0;
988 dir = 1;
990 dir = -1;
993 _linearGrow(dir);
995 _selection.spatialGrow(this, dir);
1002 dir = 1;
1005 dir = -1;
1011 _linearGrow(dir);
1013 _selection.spatialGrow(this, dir);
1025 void Node::_linearGrow(int dir)
1029 if (!selected() && dir > 0) {
1040 if (dir > 0) {
1376 Node *Node::nodeToward(Handle *dir)
1378 if (front() == dir) {
1381 if (back() == dir) {