print Point3 in matlab's column vector style
parent
b0c25f2668
commit
6fc1464d7b
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue