Logo ROOT  
Reference Guide
TGeoVector3.cxx
Go to the documentation of this file.
1 // @(#)root/geom:$Id$
2 // Author: Andrei Gheata 15/01/2020
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 /** \class TGeoVector3
13 \ingroup Geometry_classes
14 Simple 3-vector representation
15 */
16 
17 #include "TGeoVector3.h"
18 
19 std::ostream &operator<<(std::ostream &os, ROOT::Geom::Vertex_t const &vec)
20 {
21  os << "{" << vec[0] << ", " << vec[1] << ", " << vec[2] << "}";
22  return os;
23 }
operator<<
std::ostream & operator<<(std::ostream &os, ROOT::Geom::Vertex_t const &vec)
Definition: TGeoVector3.cxx:19
ROOT::Geom::Vertex_t
Definition: TGeoVector3.h:21
TGeoVector3.h
vec
Definition: civetweb.c:2228