From e5dce0de0da74ad40184be5477f70aec7f8524a3 Mon Sep 17 00:00:00 2001 From: cbeall3 Date: Wed, 6 May 2015 13:30:52 -0400 Subject: [PATCH] Remove OptionalPoint3 --- gtsam.h | 5 ----- gtsam/geometry/Point3.h | 3 --- 2 files changed, 8 deletions(-) diff --git a/gtsam.h b/gtsam.h index 6acc493fd..b16b58cc2 100644 --- a/gtsam.h +++ b/gtsam.h @@ -383,11 +383,6 @@ class Point3 { void serialize() const; }; -class OptionalPoint3 { - bool is_initialized() const; - gtsam::Point3 value(); -}; - class Rot2 { // Standard Constructors and Named Constructors Rot2(); diff --git a/gtsam/geometry/Point3.h b/gtsam/geometry/Point3.h index db6fa4b6e..883e5fb62 100644 --- a/gtsam/geometry/Point3.h +++ b/gtsam/geometry/Point3.h @@ -194,9 +194,6 @@ namespace gtsam { /// Syntactic sugar for multiplying coordinates by a scalar s*p inline Point3 operator*(double s, const Point3& p) { return p*s;} -// For MATLAB wrapper -typedef boost::optional OptionalPoint3; - template<> struct traits : public internal::VectorSpace {};