update boost
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
|
||||
#include <boost/cstdint.hpp>
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
#include <utility>
|
||||
|
||||
@@ -77,7 +77,7 @@ class voronoi_predicates {
|
||||
}
|
||||
}
|
||||
|
||||
typedef struct orientation_test {
|
||||
struct orientation_test {
|
||||
public:
|
||||
// Represents orientation test result.
|
||||
enum Orientation {
|
||||
@@ -115,7 +115,8 @@ class voronoi_predicates {
|
||||
static_cast<int_x2_type>(point3.y());
|
||||
return eval(robust_cross_product(dx1, dy1, dx2, dy2));
|
||||
}
|
||||
} ot;
|
||||
};
|
||||
typedef orientation_test ot;
|
||||
|
||||
template <typename Point>
|
||||
class point_comparison_predicate {
|
||||
|
||||
@@ -97,12 +97,6 @@ class robust_fpt {
|
||||
relative_error_type re() const { return re_; }
|
||||
relative_error_type ulp() const { return re_; }
|
||||
|
||||
robust_fpt& operator=(const robust_fpt& that) {
|
||||
this->fpv_ = that.fpv_;
|
||||
this->re_ = that.re_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool has_pos_value() const {
|
||||
return is_pos(fpv_);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user