mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-20 23:09:18 -07:00
More work to get Boost.Polygon to compile
This commit is contained in:
@@ -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) {};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user