UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
sim_vm_layers.hpp
1 /* sim_vm_layers.hpp */
2 /* $Id$ */
3 #ifndef __sim_vm_layers_hpp
4 #define __sim_vm_layers_hpp
5 
6 #include <s2proc/sim_point_2d.hpp>
7 
11 namespace sim
12 {
13  //------------------------------------------------------------------------------------------
17  {
18  public:
19 
22  m_dip(0) {/* nothing to do. */}
23 
25  VmLayer1D2D(const Point2D &i_coords, const CoordT &i_dip):
26  m_coords(i_coords), m_dip(i_dip)
27  {/* nothing to do. */}
28 
29 
31  const Point2D& coords() const {return m_coords;}
32 
34  const CoordT& dip() const {return m_dip;}
35 
36 
38  CoordT zCoord(const CoordT &x_coord) const;
39 
40  protected:
41 
43  CoordT m_dip;
44  };
45 
46 }; // simulation namespace
47 
48 #endif /* sim_vm_layers.hpp */
const CoordT & dip() const
Definition: sim_vm_layers.hpp:34
Definition: sim_vm_layers.hpp:16
Definition: sim_point_2d.hpp:16
bool sim(size_t n, const Trace::AmplT *x, const Trace::AmplT *y, Trace::AmplT &s)
VmLayer1D2D()
Definition: sim_vm_layers.hpp:21
CoordT zCoord(const CoordT &x_coord) const
const Point2D & coords() const
Definition: sim_vm_layers.hpp:31
CoordT m_dip
Definition: sim_vm_layers.hpp:43
Point2D m_coords
Definition: sim_vm_layers.hpp:42
VmLayer1D2D(const Point2D &i_coords, const CoordT &i_dip)
Definition: sim_vm_layers.hpp:25