Lines Matching defs:dir
1622 Geom::Point dir;
1626 dir = getEdge(no).dx;
1630 dir = -getEdge(no).dx;
1636 if ( fabs(dir[1]) < 0.000001 ) {
1639 swrData[no].dxdy = dir[0]/dir[1];
1642 if ( fabs(dir[0]) < 0.000001 ) {
1645 swrData[no].dydx = dir[1]/dir[0];
1656 Geom::Point dir;
1660 dir = getEdge(no).dx;
1663 dir = -getEdge(no).dx;
1666 if ( fabs(dir[1]) < 0.000001 ) {
1667 swrData[no].calcX = stp[0] + dir[0];
1669 swrData[no].calcX = stp[0] + ((to - stp[1]) * dir[0]) / dir[1];