Used <<
parent
ee21ef61a6
commit
d20155c661
|
@ -27,7 +27,7 @@ INSTANTIATE_LIE(Point2);
|
|||
|
||||
/* ************************************************************************* */
|
||||
void Point2::print(const string& s) const {
|
||||
cout << s << "(" << x_ << ", " << y_ << ")" << endl;
|
||||
cout << s << *this << endl;
|
||||
}
|
||||
|
||||
/* ************************************************************************* */
|
||||
|
|
|
@ -32,7 +32,7 @@ bool Point3::equals(const Point3 & q, double tol) const {
|
|||
/* ************************************************************************* */
|
||||
|
||||
void Point3::print(const string& s) const {
|
||||
cout << s << "(" << x_ << ", " << y_ << ", " << z_ << ")" << endl;
|
||||
cout << s << *this << endl;
|
||||
}
|
||||
|
||||
/* ************************************************************************* */
|
||||
|
|
Loading…
Reference in New Issue