mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-11 03:32:24 +00:00
This commit is contained in:
1 parent
8290a006ed
commit
3d25b9030c
5 files changed
+28
-4
No files matched your search
@@ -190,6 +190,12 @@ Point::projection_onto(const Line &line) const
|
||||
}
|
||||
}
|
||||
|
||||
Point
|
||||
Point::negative() const
|
||||
{
|
||||
return Point(-this->x, -this->y);
|
||||
}
|
||||
|
||||
Point
|
||||
operator+(const Point& point1, const Point& point2)
|
||||
{
|
||||
|
||||
@@ -43,6 +43,7 @@ class Point
|
||||
double ccw(const Line &line) const;
|
||||
Point projection_onto(const MultiPoint &poly) const;
|
||||
Point projection_onto(const Line &line) const;
|
||||
Point negative() const;
|
||||
|
||||
#ifdef SLIC3RXS
|
||||
void from_SV(SV* point_sv);
|
||||
|
||||
Reference in new issue
Block a user