Remove vector in PointX headers
							parent
							
								
									41b091e86f
								
							
						
					
					
						commit
						12d04abb1e
					
				|  | @ -43,7 +43,7 @@ public: | |||
|     Point2() { setZero(); } | ||||
| #else | ||||
|     Point2() { | ||||
|       throw std::runtime_error("Point2 default"); | ||||
| //      throw std::runtime_error("Point2 default");
 | ||||
|     } | ||||
| #endif | ||||
| 
 | ||||
|  | @ -153,9 +153,9 @@ public: | |||
|   Point2 inverse() const { return -(*this);} | ||||
|   Point2 compose(const Point2& q) const { return (*this)+q;} | ||||
|   Point2 between(const Point2& q) const { return q-(*this);} | ||||
|   Vector2 localCoordinates(const Point2& q) const { return between(q).vector();} | ||||
|   Vector2 localCoordinates(const Point2& q) const { return between(q);} | ||||
|   Point2 retract(const Vector2& v) const { return compose(Point2(v));} | ||||
|   static Vector2 Logmap(const Point2& p) { return p.vector();} | ||||
|   static Vector2 Logmap(const Point2& p) { return p;} | ||||
|   static Point2 Expmap(const Vector2& v) { return Point2(v);} | ||||
|   inline double dist(const Point2& p2) const {return distance();} | ||||
|   /// @}
 | ||||
|  |  | |||
|  | @ -124,9 +124,9 @@ class GTSAM_EXPORT Point3 : public Vector3 { | |||
|     Point3 inverse() const { return -(*this);} | ||||
|     Point3 compose(const Point3& q) const { return (*this)+q;} | ||||
|     Point3 between(const Point3& q) const { return q-(*this);} | ||||
|     Vector3 localCoordinates(const Point3& q) const { return between(q).vector();} | ||||
|     Vector3 localCoordinates(const Point3& q) const { return between(q);} | ||||
|     Point3 retract(const Vector3& v) const { return compose(Point3(v));} | ||||
|     static Vector3 Logmap(const Point3& p) { return p.vector();} | ||||
|     static Vector3 Logmap(const Point3& p) { return p;} | ||||
|     static Point3 Expmap(const Vector3& v) { return Point3(v);} | ||||
|     inline double dist(const Point3& q) const { return (q - *this).norm(); } | ||||
|     Point3 normalize(OptionalJacobian<3, 3> H = boost::none) const { return normalized(H);} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue