StereoPoint2.cpp
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2 
3  * GTSAM Copyright 2010, Georgia Tech Research Corporation,
4  * Atlanta, Georgia 30332-0415
5  * All Rights Reserved
6  * Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7 
8  * See LICENSE for the license information
9 
10  * -------------------------------------------------------------------------- */
11 
18 #include <iostream>
20 
21 using namespace std;
22 
23 namespace gtsam {
24 
25 /* ************************************************************************* */
26 void StereoPoint2::print(const string& s) const {
27  cout << s << "(" << uL_ << ", " << uR_ << ", " << v_ << ")" << endl;
28 }
29 
30 /* ************************************************************************* */
31 ostream &operator<<(ostream &os, const StereoPoint2& p) {
32  os << '(' << p.uL() << ", " << p.uR() << ", " << p.v() << ')';
33  return os;
34 }
35 
36 } // namespace gtsam
Definition: BFloat16.h:88
EIGEN_STRONG_INLINE Packet4f print(const Packet4f &a)
ostream & operator<<(ostream &os, const StereoPoint2 &p)
double v() const
get v
Definition: StereoPoint2.h:116
RealScalar s
traits
Definition: chartTesting.h:28
ofstream os("timeSchurFactors.csv")
double uL() const
get uL
Definition: StereoPoint2.h:110
float * p
A 2D stereo point (uL,uR,v)
double uR() const
get uR
Definition: StereoPoint2.h:113


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:36:20