mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 08:41:11 -06:00
More work to get Boost.Polygon to compile
This commit is contained in:
parent
bf91f3096a
commit
f9642786d3
8 changed files with 360 additions and 36 deletions
|
@ -20,7 +20,7 @@ class BoundingBoxBase
|
|||
PointClass max;
|
||||
|
||||
BoundingBoxBase() {};
|
||||
BoundingBoxBase(const std::vector<PointClass> points);
|
||||
BoundingBoxBase(const std::vector<PointClass> &points);
|
||||
void merge(const PointClass &point);
|
||||
void merge(const BoundingBoxBase<PointClass> &bb);
|
||||
void scale(double factor);
|
||||
|
@ -34,7 +34,7 @@ class BoundingBox3Base : public BoundingBoxBase<PointClass>
|
|||
{
|
||||
public:
|
||||
BoundingBox3Base() {};
|
||||
BoundingBox3Base(const std::vector<PointClass> points);
|
||||
BoundingBox3Base(const std::vector<PointClass> &points);
|
||||
void merge(const PointClass &point);
|
||||
void merge(const BoundingBox3Base<PointClass> &bb);
|
||||
PointClass size() const;
|
||||
|
@ -48,7 +48,8 @@ class BoundingBox : public BoundingBoxBase<Point>
|
|||
void polygon(Polygon* polygon) const;
|
||||
|
||||
BoundingBox() {};
|
||||
BoundingBox(const Points points) : BoundingBoxBase<Point>(points) {};
|
||||
BoundingBox(const Points &points) : BoundingBoxBase<Point>(points) {};
|
||||
BoundingBox(const Lines &lines);
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -59,7 +60,7 @@ class BoundingBox3 : public BoundingBox3Base<Point3> {};
|
|||
class BoundingBoxf3 : public BoundingBox3Base<Pointf3> {
|
||||
public:
|
||||
BoundingBoxf3() {};
|
||||
BoundingBoxf3(const std::vector<Pointf3> points) : BoundingBox3Base<Pointf3>(points) {};
|
||||
BoundingBoxf3(const std::vector<Pointf3> &points) : BoundingBox3Base<Pointf3>(points) {};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue