20 static_assert(std::is_trivial_v<TPoint3D_data<float>>);
21 static_assert(std::is_trivial_v<TPoint3D_data<double>>);
22 static_assert(std::is_trivially_copyable_v<TPoint3D>);
23 static_assert(std::is_trivially_copyable_v<TPoint3Df>);
48 else if (this->x > p.
x)
50 else if (this->y < p.
y)
52 else if (this->y > p.
y)
65 m.
rows() == 1 && m.
cols() == 3,
"Wrong size of vector in ::fromString");
78 return in >> p.
pt >> p.
r >> p.
g >> p.
b;
83 return out << p.
pt << p.
r << p.
g << p.
b;
89 return in >> p.
pt >> p.
r >> p.
g >> p.
b >> p.
a;
94 return out << p.
pt << p.
r << p.
g << p.
b << p.
a;
std::ostream & operator<<(std::ostream &o, const TFTDIDevice &d)
Print out all the information of a FTDI device in textual form.
Trivially copiable underlying data for TPoint3D 1-byte memory packed, no padding].
#define THROW_EXCEPTION(msg)
CArchive & operator>>(CArchive &a, Foo &f)
constexpr TPoint3D_()
Default constructor.
This base provides a set of functions for maths stuff.
XYZ point (float) + RGB(u8)
#define ASSERTMSG_(f, __ERROR_MSG)
Defines an assertion mechanism.
bool fromMatlabStringFormat(const std::string &s, mrpt::optional_ref< std::ostream > dump_errors_here=std::nullopt)
Reads a matrix from a string in Matlab-like format, for example: "[1 0 2; 0 4 -1]" The string must st...
XYZ point (float) + RGBA(u8)
size_type rows() const
Number of rows in the matrix.
size_type cols() const
Number of columns in the matrix.
Base template for TPoint2D and TPoint2Df.
Virtual base class for "archives": classes abstracting I/O streams.
mrpt::vision::TStereoCalibResults out
Base template for TPoint3D and TPoint3Df.
Lightweight 3D pose (three spatial coordinates, plus three angular coordinates).
bool operator<(const COccupancyGridMap2D::TPairLikelihoodIndex &e1, const COccupancyGridMap2D::TPairLikelihoodIndex &e2)
This template class provides the basic functionality for a general 2D any-size, resizable container o...