Logo Search packages:      
Sourcecode: inkscape version File versions

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

This is a rotation (sort of).

Definition at line 141 of file point.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