Go to the documentation of this file.
19 static_assert(std::is_trivial_v<TPoint2D_data<float>>);
20 static_assert(std::is_trivial_v<TPoint2D_data<double>>);
21 static_assert(std::is_trivially_copyable_v<TPoint2D>);
22 static_assert(std::is_trivially_copyable_v<TPoint2Df>);
46 else if (this->x > p.
x)
59 m.
rows() == 1 && m.
cols() == 2,
"Wrong size of vector in ::fromString");
Base template for TPoint3D and TPoint3Df.
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...
Base template for TPoint2D and TPoint2Df.
#define THROW_EXCEPTION(msg)
bool operator<(const COccupancyGridMap2D::TPairLikelihoodIndex &e1, const COccupancyGridMap2D::TPairLikelihoodIndex &e2)
Lightweight 3D pose (three spatial coordinates, plus three angular coordinates).
#define ASSERTMSG_(f, __ERROR_MSG)
Defines an assertion mechanism.
constexpr TPoint2D_()
Default constructor.
This base provides a set of functions for maths stuff.
size_type cols() const
Number of columns in the matrix.
This template class provides the basic functionality for a general 2D any-size, resizable container o...
size_type rows() const
Number of rows in the matrix.
Page generated by Doxygen 1.8.17 for MRPT 2.0.4 at Sat Jun 27 14:00:59 UTC 2020 | |