Lines Matching refs:dp
437 Geom::Point dp = (p3 - p0)/3.0;
438 if( j == 2 ) dp *= 2.0;
439 (*nodes)[ row + i ][ col + j ]->p = p0 + dp;
445 Geom::Point dp = (p3 - p0)/3.0;
446 if( i == 2 ) dp *= 2.0;
447 (*nodes)[ row + i ][ col + j ]->p = p0 + dp;
694 Geom::Point p, dp;
701 dp = Geom::Point( x, y );
702 new_patch.setPoint( istop, 3, current_p + dp );
710 dp = (p - current_p)/3.0; // Calculate since may not be set if closed.
712 // << " dp: " << dp
716 new_patch.setPoint( istop, 1, current_p + dp, false );
717 new_patch.setPoint( istop, 2, current_p + 2.0 * dp, false );
732 dp = (p - current_p)/3.0;
733 new_patch.setPoint( istop, 1, current_p + dp, false );
734 new_patch.setPoint( istop, 2, current_p + 2.0 * dp, false );
1886 Geom::Point dp = (n[3]->p - n[0]->p)/3.0;
1887 n[1]->p = n[0]->p + dp;
1888 n[2]->p = n[3]->p - dp;
1897 Geom::Point dp = (n[3]->p - n[0]->p)/3.0;
1898 n[1]->p = n[0]->p + dp;
1899 n[2]->p = n[3]->p - dp;
1905 // << dp << std::endl;
2286 Geom::Point dp = nodes[nrow+1][ncol]->p - p;
2287 p += unit_vector( dp ) * size;
2291 Geom::Point dp = nodes[nrow][ncol-1]->p - p;
2292 p += unit_vector( dp ) * size;
2296 Geom::Point dp = nodes[nrow-1][ncol]->p - p;
2297 p += unit_vector( dp ) * size;
2301 Geom::Point dp = nodes[nrow][ncol+1]->p - p;
2302 p += unit_vector( dp ) * size;
2382 Geom::Point dp = p_new - p_old;
2386 // std::cout << " dp: " << dp << std::endl;
2409 nodes[nrow-1][ncol ]->p += dp;
2420 nodes[nrow ][ncol+1]->p += dp;
2431 nodes[nrow+1][ncol ]->p += dp;
2442 nodes[nrow ][ncol-1]->p += dp;
2448 if( patch[0] ) nodes[nrow-1][ncol-1]->p += dp;
2449 if( patch[1] ) nodes[nrow-1][ncol+1]->p += dp;
2450 if( patch[2] ) nodes[nrow+1][ncol+1]->p += dp;
2451 if( patch[3] ) nodes[nrow+1][ncol-1]->p += dp;