return atan2(this->_e.y() - this->_b.y(), this->_e.x() - this->_b.x());
}
+void
+Line::gen_gnuplot_to(std::ostream& out)
+{
+ this->b().gen_gnuplot_to(out);
+ this->e().gen_gnuplot_to(out);
+ out << std::endl;
+}
+
std::ostream&
operator<<(std::ostream& out, Line const& li)
{
if (opts.CRA_POINT || opts.CAR_POINT) {
Point::gen_gnuplot_to(out);
}
+ if (opts.LRA_POINT) {
+ this->lra().gen_gnuplot_to(out);
+ }
+ if (opts.RRA_POINT) {
+ this->rra().gen_gnuplot_to(out);
+ }
if (opts.LEFT) {
this->lf().gen_gnuplot_to(out);
this->lr().gen_gnuplot_to(out);