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
void print(const Matrix &A, const string &s, ostream &stream)
Definition: Matrix.cpp:155
double uR() const
get uR
Definition: StereoPoint2.h:109
double uL() const
get uL
Definition: StereoPoint2.h:106
Definition: Half.h:150
ostream & operator<<(ostream &os, const StereoPoint2 &p)
double v() const
get v
Definition: StereoPoint2.h:112
RealScalar s
traits
Definition: chartTesting.h:28
ofstream os("timeSchurFactors.csv")
float * p
A 2D stereo point (uL,uR,v)


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:44:50