gtsam
geometry
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>
19
#include <
gtsam/geometry/StereoPoint2.h
>
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
Eigen::internal::print
EIGEN_STRONG_INLINE Packet4f print(const Packet4f &a)
Definition:
NEON/PacketMath.h:3115
s
RealScalar s
Definition:
level1_cplx_impl.h:126
os
ofstream os("timeSchurFactors.csv")
gtsam::operator<<
ostream & operator<<(ostream &os, const StereoPoint2 &p)
Definition:
StereoPoint2.cpp:31
StereoPoint2.h
A 2D stereo point (uL,uR,v)
gtsam
traits
Definition:
SFMdata.h:40
gtsam::StereoPoint2
Definition:
StereoPoint2.h:34
std
Definition:
BFloat16.h:88
p
float * p
Definition:
Tutorial_Map_using.cpp:9
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:14:03