Logo Search packages:      
Sourcecode: inkscape version File versions

Point NR::operator^ ( Point const &  a,
Point const &  b 
) [inline]

This is a rotation (sort of).

Definition at line 28 of file nr-point-ops.h.

{
    Point const ret(a[0] * b[0] - a[1] * b[1],
                    a[1] * b[0] + a[0] * b[1]);
    return ret;
}


Generated by  Doxygen 1.6.0   Back to index