STIR  6.2.0
Coordinate2D.h
Go to the documentation of this file.
1 //
2 //
3 #ifndef __Coordinate2D_H__
4 #define __Coordinate2D_H__
5 
16 /*
17  Copyright (C) 2000 PARAPET partners
18  Copyright (C) 2000- 2012, Hammersmith Imanet Ltd
19  This file is part of STIR.
20 
21  SPDX-License-Identifier: Apache-2.0 AND License-ref-PARAPET-license
22 
23  See STIR/LICENSE.txt for details
24 */
25 
26 #include "stir/BasicCoordinate.h"
27 
28 START_NAMESPACE_STIR
29 
40 template <typename coordT>
41 class Coordinate2D : public BasicCoordinate<2, coordT>
42 {
43 protected:
45 
46 public:
47  inline Coordinate2D();
48  inline Coordinate2D(const coordT&, const coordT&);
50  inline Coordinate2D& operator=(const BasicCoordinate<2, coordT>& c);
51 };
52 
53 END_NAMESPACE_STIR
54 
55 #include "stir/Coordinate2D.inl"
56 
57 #endif
a templated class for 2-dimensional coordinates.
Definition: Coordinate2D.h:41
This file declares class stir::BasicCoordinate and some functions acting on stir::BasicCoordinate obj...
class BasicCoordinate<int num_dimensions, typename coordT> defines num_dimensions -dimensional coordi...
Definition: BasicCoordinate.h:53
inline implementations for the stir::Coordinate2D class