mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
Fixed error in porting causing wrong moves with avoid_crossing_perimeters
This commit is contained in:
parent
9dc0514844
commit
667a121ddb
6 changed files with 16 additions and 8 deletions
|
@ -305,6 +305,14 @@ operator<<(std::ostream &stm, const Pointf &pointf)
|
|||
return stm << pointf.x << "," << pointf.y;
|
||||
}
|
||||
|
||||
std::string
|
||||
Pointf::wkt() const
|
||||
{
|
||||
std::ostringstream ss;
|
||||
ss << "POINT(" << this->x << " " << this->y << ")";
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
void
|
||||
Pointf::scale(double factor)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue