print Point3 in matlab's column vector style

release/4.3a0
Duy-Nguyen Ta 2013-08-06 18:49:03 +00:00
parent b0c25f2668
commit 6fc1464d7b
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ double Point3::norm() const {
/* ************************************************************************* */
ostream &operator<<(ostream &os, const Point3& p) {
os << '(' << p.x() << ", " << p.y() << ", " << p.z() << ')';
os << '[' << p.x() << ", " << p.y() << ", " << p.z() << "]\';";
return os;
}