Esempio n. 1
0
int SLine::dot_product(SLine &other_line)
{
    return dx()*other_line.dx()+ dy()*other_line.dy();
}