Some improvements to pruning and some additions here and there

This commit is contained in:
Alessandro Ranellucci 2014-03-05 18:43:01 +01:00
parent c2ed6090d3
commit 04d80ca392
6 changed files with 33 additions and 8 deletions

View file

@ -101,6 +101,12 @@ Line::direction() const
: atan2;
}
Vector
Line::vector() const
{
return Vector(this->b.x - this->a.x, this->b.y - this->a.y);
}
#ifdef SLIC3RXS
void
Line::from_SV(SV* line_sv)