mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
More refactoring to medial axis and gap fill, more robust
This commit is contained in:
parent
b068616366
commit
9e8022f6f6
13 changed files with 133 additions and 58 deletions
|
@ -26,6 +26,14 @@ Point::wkt() const
|
|||
return ss.str();
|
||||
}
|
||||
|
||||
std::string
|
||||
Point::dump_perl() const
|
||||
{
|
||||
std::ostringstream ss;
|
||||
ss << "[" << this->x << "," << this->y << "]";
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
void
|
||||
Point::scale(double factor)
|
||||
{
|
||||
|
@ -313,6 +321,14 @@ Pointf::wkt() const
|
|||
return ss.str();
|
||||
}
|
||||
|
||||
std::string
|
||||
Pointf::dump_perl() const
|
||||
{
|
||||
std::ostringstream ss;
|
||||
ss << "[" << this->x << "," << this->y << "]";
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
void
|
||||
Pointf::scale(double factor)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue