STIR
6.4.0
STIR
src
include
stir
CartesianCoordinate2D.h
Go to the documentation of this file.
1
#ifndef __stir_CartesianCoordinate2D_H__
2
#define __stir_CartesianCoordinate2D_H__
3
//
4
//
17
/*
18
Copyright (C) 2000 PARAPET partners
19
Copyright (C) 2000 - 2009-06-22, Hammersmith Imanet Ltd
20
Copyright (C) 2012-06-01 - 2012, Kris Thielemans
21
This file is part of STIR.
22
23
SPDX-License-Identifier: Apache-2.0 AND License-ref-PARAPET-license
24
25
See STIR/LICENSE.txt for details
26
*/
27
28
#include "
stir/Coordinate2D.h
"
29
30
START_NAMESPACE_STIR
31
42
43
template
<
typename
coordT>
44
class
CartesianCoordinate2D :
public
Coordinate2D<coordT>
45
{
46
protected
:
47
typedef
Coordinate2D<coordT> base_type;
48
typedef
typename
base_type::base_type basebase_type;
49
50
public
:
51
inline
CartesianCoordinate2D();
52
inline
CartesianCoordinate2D(
const
coordT&,
const
coordT&);
53
inline
CartesianCoordinate2D(
const
BasicCoordinate<2, coordT>
& c);
54
inline
CartesianCoordinate2D& operator=(
const
BasicCoordinate<2, coordT>
& c);
55
56
inline
coordT& y();
57
inline
coordT y()
const
;
58
inline
coordT& x();
59
inline
coordT x()
const
;
60
};
61
62
END_NAMESPACE_STIR
63
64
#include "
stir/CartesianCoordinate2D.inl
"
65
66
#endif
CartesianCoordinate2D.inl
inline implementations for the stir::CartesianCoordinate2D<coordT> class
Coordinate2D.h
defines the stir::Coordinate2D<coordT> class
stir::BasicCoordinate
class BasicCoordinate<int num_dimensions, typename coordT> defines num_dimensions -dimensional coordi...
Definition
BasicCoordinate.h:57
Generated on Wed May 27 2026 17:04:04 for STIR by
1.13.2