33 min.
x() = std::numeric_limits<double>::infinity();
34 min.
y() = std::numeric_limits<double>::infinity();
35 for (
const Key&
key : keys) {
39 if (xy->x() < min.
x()) min.
x() = xy->x();
40 if (xy->y() < min.
y()) min.
y() = xy->y();
52 t <<
p->value().x(),
p->value().y(), 0;
55 t <<
p->value().x(),
p->value().y(), 0;
60 t << p_2d.x(), p_2d.y(), 0;
61 }
else if (
p->dim() == 3) {
69 t =
p->value().translation();
97 throw std::runtime_error(
"Invalid enum value");
119 throw std::runtime_error(
"Invalid enum value");
130 xy->x() =
scale * (xy->x() - min.
x());
131 xy->y() =
scale * (xy->y() - min.
y());
141 auto pos = it->second;
const gtsam::Symbol key('X', 0)
A non-templated config holding any types of Manifold-group elements.
const ValueType at(Key j) const
std::optional< Vector2 > variablePos(Key key) const
Return variable position or none.
std::map< size_t, Vector2 > factorPositions
A matrix or vector expression mapping an existing expression.
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
std::uint64_t Key
Integer nonlinear key type.