Fixed some warnings
parent
8a7ce130ad
commit
1708162723
|
|
@ -24,6 +24,9 @@
|
||||||
#include <gtsam/geometry/Unit3.h>
|
#include <gtsam/geometry/Unit3.h>
|
||||||
#include <gtsam/geometry/Pose3.h>
|
#include <gtsam/geometry/Pose3.h>
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
namespace gtsam {
|
namespace gtsam {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -58,9 +61,8 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Construct from a vector of plane coefficients
|
/// Construct from a vector of plane coefficients
|
||||||
OrientedPlane3(const Vector4& vec) :
|
explicit OrientedPlane3(const Vector4& vec)
|
||||||
n_(vec(0), vec(1), vec(2)), d_(vec(3)) {
|
: n_(vec(0), vec(1), vec(2)), d_(vec(3)) {}
|
||||||
}
|
|
||||||
|
|
||||||
/// Construct from four numbers of plane coeffcients (a, b, c, d)
|
/// Construct from four numbers of plane coeffcients (a, b, c, d)
|
||||||
OrientedPlane3(double a, double b, double c, double d) {
|
OrientedPlane3(double a, double b, double c, double d) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue