mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 20:28:08 -06:00
Some inlining optimizations.
This commit is contained in:
parent
c443f49da3
commit
068f71847e
4 changed files with 3 additions and 14 deletions
|
@ -29,7 +29,8 @@ class MultiPoint
|
|||
virtual Point last_point() const = 0;
|
||||
virtual Lines lines() const = 0;
|
||||
double length() const;
|
||||
bool is_valid() const;
|
||||
bool is_valid() const { return this->points.size() >= 2; }
|
||||
|
||||
int find_point(const Point &point) const;
|
||||
bool has_boundary_point(const Point &point) const;
|
||||
BoundingBox bounding_box() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue