More work on the clipping method for medial axis. Includes Polyline->is_valid()

This commit is contained in:
Alessandro Ranellucci 2013-11-06 19:30:45 +01:00
parent 7e8c535f6a
commit b5aaeb9b12
6 changed files with 38 additions and 3 deletions

View file

@ -49,6 +49,12 @@ MultiPoint::length() const
return len;
}
bool
MultiPoint::is_valid() const
{
return this->points.size() >= 2;
}
#ifdef SLIC3RXS
void
MultiPoint::from_SV(SV* poly_sv)