delaunay_logger.hpp
Go to the documentation of this file.
1 
6 #ifndef DELAUNAY_OUTPUT_HPP
7 #define DELAUNAY_OUTPUT_HPP 1
8 
9 #include <vector>
10 #include "geometry.hpp"
11 #include "facet.hpp"
12 
14 namespace delaunay_loggers {
15  using namespace std;
16 
19  {
20  public:
21 
23  DelaunayLogger(void);
24 
29  virtual void output(vector<Vector2D> const& cor,
30  vector<facet> const& f);
31 
32  virtual ~DelaunayLogger(void);
33  };
34 
37  {
38  public:
39 
43  explicit BinaryLogger(string const& file_name);
44 
45  void output(vector<Vector2D> const& cor,
46  vector<facet> const& f);
47 
48  private:
49  const string file_name_;
50  };
51 }
52 
53 #endif // DELAUNAY_OUTPUT_HPP
Geometrical calculations.
Writes data to a binary file.
Diagnostic functions for Delaunay triangulation.
Diagnostic class for Delaunay triangulation.
Triangulation data.