Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Coord NR::cross ( Point const &  a,
Point const &  b 
) [inline]

Defined as dot(a, b.cw()).

Definition at line 81 of file nr-point-fns.h.

{
    Coord ret = 0;
    ret -= a[0] * b[1];
    ret += a[1] * b[0];
    return ret;
}


Generated by  Doxygen 1.6.0   Back to index