}
}
+void
+Point::translate(Point const& p)
+{
+ this->x_ += p.x();
+ this->y_ += p.y();
+}
+
void
Point::rotate(Point const& c, double const angl)
{
return this->e_;
}
+Point
+Line::m() const
+{
+ return Point((this->b_.x() + this->e_.x()) / 2.0,
+ (this->b_.y() + this->e_.y()) / 2.0);
+}
+
Point
Line::i1() const&
{
}
}
+PoseRange::PoseRange(double x, double y, double b, double e)
+ : PoseRange(Pose(x, y, b), Pose(x, y, e))
+{
+}
+
Pose
PoseRange::bp() const
{
return std::max(this->bp_.h(), this->ep_.h());
}
+void
+PoseRange::translate(Point const& p)
+{
+ this->bp_.translate(p);
+ this->ep_.translate(p);
+ this->set_xyh();
+}
+
void
PoseRange::rotate(Point const& c, double const angl)
{