mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-28 03:01:17 -06:00
New get_extents(const std::vector<Points> &pts),
refactored Lian Barsky line clipping
This commit is contained in:
parent
32362cff0b
commit
84693a5810
5 changed files with 29 additions and 19 deletions
|
|
@ -74,7 +74,6 @@ public:
|
|||
inline bool operator==(const Polygon &lhs, const Polygon &rhs) { return lhs.points == rhs.points; }
|
||||
inline bool operator!=(const Polygon &lhs, const Polygon &rhs) { return lhs.points != rhs.points; }
|
||||
|
||||
extern BoundingBox get_extents(const Points &points);
|
||||
extern BoundingBox get_extents(const Polygon &poly);
|
||||
extern BoundingBox get_extents(const Polygons &polygons);
|
||||
extern BoundingBox get_extents_rotated(const Polygon &poly, double angle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue