STIR 6.4.0
Coordinate2D.h
Go to the documentation of this file.
1//
2//
3#ifndef __Coordinate2D_H__
4#define __Coordinate2D_H__
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
27
28START_NAMESPACE_STIR
29
39
40template <typename coordT>
41class Coordinate2D : public BasicCoordinate<2, coordT>
42{
43protected:
44 typedef BasicCoordinate<2, coordT> base_type;
45
46public:
47 inline Coordinate2D();
48 inline Coordinate2D(const coordT&, const coordT&);
49 inline Coordinate2D(const BasicCoordinate<2, coordT>& c);
50 inline Coordinate2D& operator=(const BasicCoordinate<2, coordT>& c);
51};
52
53END_NAMESPACE_STIR
54
55#include "stir/Coordinate2D.inl"
56
57#endif
This file declares class stir::BasicCoordinate and some functions acting on stir::BasicCoordinate obj...
inline implementations for the stir::Coordinate2D class