23 #include <boost/serialization/nvp.hpp> 38 enum { dimension = 3 };
44 uL_(0), uR_(0), v_(0) {
49 uL_(uL), uR_(uR), v_(v) {
54 uL_(v(0)), uR_(v(1)), v_(v(2)) {}
61 void print(
const std::string&
s =
"")
const;
106 inline double uL()
const {
return uL_;}
109 inline double uR()
const {
return uR_;}
112 inline double v()
const {
return v_;}
150 friend class boost::serialization::access;
151 template<
class ARCHIVE>
153 ar & BOOST_SERIALIZATION_NVP(uL_);
154 ar & BOOST_SERIALIZATION_NVP(uR_);
155 ar & BOOST_SERIALIZATION_NVP(v_);
void print(const Matrix &A, const string &s, ostream &stream)
std::ostream & operator<<(std::ostream &os, const Dih6 &m)
static StereoPoint2 Expmap(const Vector &d)
static StereoPoint2 identity()
identity
VectorSpace provides both Testable and VectorSpaceTraits.
Pose2_ Expmap(const Vector3_ &xi)
StereoPoint2 retract(const Vector &v) const
StereoPoint2 compose(const StereoPoint2 &p1) const
std::vector< StereoPoint2 > StereoPoint2Vector
bool operator==(const Matrix &A, const Matrix &B)
StereoPoint2 between(const StereoPoint2 &p2) const
StereoPoint2(double uL, double uR, double v)
void serialize(ARCHIVE &ar, const unsigned int)
StereoPoint2 inverse() const
Vector localCoordinates(const StereoPoint2 &t2) const
Array< double, 1, 3 > e(1./3., 0.5, 2.)
EIGEN_DEVICE_FUNC const Scalar & q
BinarySumExpression< T > operator-(const Expression< T > &e1, const Expression< T > &e2)
Construct an expression that subtracts one expression from another.
static Vector Logmap(const StereoPoint2 &p)
StereoPoint2 operator-() const
inverse
ofstream os("timeSchurFactors.csv")
bool equals(const StereoPoint2 &q, double tol=1e-9) const
BinarySumExpression< T > operator+(const Expression< T > &e1, const Expression< T > &e2)
Expression< T > compose(const Expression< T > &t1, const Expression< T > &t2)
StereoPoint2(const Vector3 &v)
construct from 3D vector
Expression< T > between(const Expression< T > &t1, const Expression< T > &t2)