Phoxonics  1.0
Object Oriented FDTD Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Vector3D.hpp
Go to the documentation of this file.
1 /*
2  * Vector3D.hpp
3  *
4  * Created on: Oct 15, 2014
5  * Author: nano
6  */
7 
8 #ifndef VECTOR3D_HPP_
9 #define VECTOR3D_HPP_
10 
11 #include "../../../common/common.hpp"
12 
13 #include <string>
14 #include <iostream>
15 
16 namespace phoxonics {
17 namespace core {
18 
19 class Vector3D {
20 public:
21  explicit Vector3D();
22  explicit Vector3D(int x, int y, int z);
23  virtual ~Vector3D();
24 
25  // print object in console
26  void print_me();
27 
29  // formatter typedef
31 
32  int x { 0 };
33  int y { 0 };
34  int z { 0 };
35 
36  double i { 0.0 };
37  double j { 0.0 };
38  double k { 0.0 };
39 };
40 
41 } /* namespace core */
42 } /* namespace phoxonics */
43 
44 #endif /* VECTOR3D_HPP_ */
double k
Definition: Vector3D.hpp:38
Definition: CommonBase.hpp:14
virtual ~Vector3D()
Definition: Vector3D.cpp:24
void print_me()
Definition: Vector3D.cpp:28
int y
Definition: Vector3D.hpp:33
phoxonics::common::Formatter fmt
Definition: Vector3D.hpp:30
Definition: Vector3D.hpp:19
Vector3D()
Definition: Vector3D.cpp:13
int z
Definition: Vector3D.hpp:34
int x
Definition: Vector3D.hpp:32
double i
Definition: Vector3D.hpp:36
double j
Definition: Vector3D.hpp:37
Definition: Logger.hpp:23
phoxonics::common::Logger log
Definition: Vector3D.hpp:28
Definition: Formatter.hpp:18