ATLAS Offline Software
TriangleBoundsCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 #include <algorithm>
7 
8 void TriangleBoundsCnv_p1 :: persToTrans( const Trk :: TriangleBounds_p1 *persObj,
9  Trk :: TriangleBounds *transObj,
10  MsgStream & )
11 {
12  *transObj = Trk::TriangleBounds (persObj->m_vertices);
13 }
14 
15 void TriangleBoundsCnv_p1 :: transToPers( const Trk :: TriangleBounds * ,
16  Trk :: TriangleBounds_p1 * ,
17  MsgStream & )
18 {
19  throw std::runtime_error("TriangleBoundsCnv_p1::transToPers is deprecated!");
20 }
TriangleBoundsCnv_p1.h
Trk::TriangleBounds
Definition: TriangleBounds.h:39
TriangleBoundsCnv_p1::persToTrans
void persToTrans(const Trk::TriangleBounds_p1 *, Trk::TriangleBounds *, MsgStream &)
Definition: TriangleBoundsCnv_p1.cxx:8
TriangleBoundsCnv_p1::transToPers
void transToPers(const Trk::TriangleBounds *, Trk::TriangleBounds_p1 *, MsgStream &)
Definition: TriangleBoundsCnv_p1.cxx:15