default value for string arg in print
parent
aebff10f05
commit
e096af463d
|
@ -74,7 +74,7 @@ class GTSAM_EXPORT Similarity2 : public LieGroup<Similarity2, 4> {
|
||||||
bool operator==(const Similarity2& other) const;
|
bool operator==(const Similarity2& other) const;
|
||||||
|
|
||||||
/// Print with optional string
|
/// Print with optional string
|
||||||
void print(const std::string& s) const;
|
void print(const std::string& s = "") const;
|
||||||
|
|
||||||
GTSAM_EXPORT friend std::ostream& operator<<(std::ostream& os,
|
GTSAM_EXPORT friend std::ostream& operator<<(std::ostream& os,
|
||||||
const Similarity2& p);
|
const Similarity2& p);
|
||||||
|
|
|
@ -75,7 +75,7 @@ class GTSAM_EXPORT Similarity3 : public LieGroup<Similarity3, 7> {
|
||||||
bool operator==(const Similarity3& other) const;
|
bool operator==(const Similarity3& other) const;
|
||||||
|
|
||||||
/// Print with optional string
|
/// Print with optional string
|
||||||
void print(const std::string& s) const;
|
void print(const std::string& s = "") const;
|
||||||
|
|
||||||
GTSAM_EXPORT friend std::ostream& operator<<(std::ostream& os,
|
GTSAM_EXPORT friend std::ostream& operator<<(std::ostream& os,
|
||||||
const Similarity3& p);
|
const Similarity3& p);
|
||||||
|
|
|
@ -1082,7 +1082,7 @@ class Similarity2 {
|
||||||
|
|
||||||
// Standard Interface
|
// Standard Interface
|
||||||
bool equals(const gtsam::Similarity2& sim, double tol) const;
|
bool equals(const gtsam::Similarity2& sim, double tol) const;
|
||||||
void print(const std::string& s) const;
|
void print(const std::string& s = "") const;
|
||||||
Matrix matrix() const;
|
Matrix matrix() const;
|
||||||
gtsam::Rot2& rotation();
|
gtsam::Rot2& rotation();
|
||||||
gtsam::Point2& translation();
|
gtsam::Point2& translation();
|
||||||
|
@ -1106,7 +1106,7 @@ class Similarity3 {
|
||||||
|
|
||||||
// Standard Interface
|
// Standard Interface
|
||||||
bool equals(const gtsam::Similarity3& sim, double tol) const;
|
bool equals(const gtsam::Similarity3& sim, double tol) const;
|
||||||
void print(const std::string& s) const;
|
void print(const std::string& s = "") const;
|
||||||
Matrix matrix() const;
|
Matrix matrix() const;
|
||||||
gtsam::Rot3& rotation();
|
gtsam::Rot3& rotation();
|
||||||
gtsam::Point3& translation();
|
gtsam::Point3& translation();
|
||||||
|
|
Loading…
Reference in New Issue