codac 2.0.0
Loading...
Searching...
No Matches
codac2_TubeBase.h
Go to the documentation of this file.
1
9
10#pragma once
11
12#include "codac2_Domain.h"
13#include "codac2_TDomain.h"
14#include "codac2_Slice.h"
15
16namespace codac2
17{
18 class TubeBase : public Domain
19 {
20 public:
21
22 TubeBase(const std::shared_ptr<TDomain>& tdomain)
23 : _tdomain(tdomain)
24 { }
25
26 inline const std::shared_ptr<TDomain>& tdomain() const
27 {
28 return _tdomain;
29 }
30
31 inline Interval t0_tf() const
32 {
33 return _tdomain->t0_tf();
34 }
35
36 protected:
37
38 const std::shared_ptr<TDomain> _tdomain;
39 };
40}