mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-03 02:22:46 +00:00
Fixed error in porting causing wrong moves with avoid_crossing_perimeters
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user