mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 22:54:08 -06:00
More work on the clipping method for medial axis. Includes Polyline->is_valid()
This commit is contained in:
parent
7e8c535f6a
commit
b5aaeb9b12
6 changed files with 38 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue