Writes data to a binary file. More...
#include <voronoi_logger.hpp>
Public Member Functions | |
BinLogger (const std::string &file_name) | |
Class constructor. More... | |
void | output (const VoronoiMesh &v) |
Outputs information from the Voronoi tessellation. More... | |
void | output (const Tessellation &v) |
Outputs information from a tessellation. More... | |
vector< Vector2D > | read (string location) |
Reads the output information from the Voronoi tessellation. More... | |
![]() | |
VoronoiLogger (void) | |
Class constructor. | |
Writes data to a binary file.
Definition at line 43 of file voronoi_logger.hpp.
|
explicit |
Class constructor.
file_name | Name of output file |
Definition at line 16 of file voronoi_logger.cpp.
|
virtual |
Outputs information from the Voronoi tessellation.
v | Refernce to Voronoi tessellation |
Reimplemented from voronoi_loggers::VoronoiLogger.
Definition at line 64 of file voronoi_logger.cpp.
|
virtual |
Outputs information from a tessellation.
v | Refernce to the tessellation |
Reimplemented from voronoi_loggers::VoronoiLogger.
Definition at line 19 of file voronoi_logger.cpp.
vector< Vector2D > BinLogger::read | ( | string | location | ) |
Reads the output information from the Voronoi tessellation.
location | Name of output file |
Definition at line 109 of file voronoi_logger.cpp.