mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-05 07:41:11 +00:00
Preliminary reimplementation of voz1b1 in C++ with more modularity
This commit is contained in:
parent
9786812b2c
commit
15d6825f5d
6 changed files with 697 additions and 4 deletions
22
c_tools/zobov2/voz1b1/voz_io.hpp
Normal file
22
c_tools/zobov2/voz1b1/voz_io.hpp
Normal file
|
@ -0,0 +1,22 @@
|
|||
#ifndef __VOZ_IO_HPP
|
||||
#define __VOZ_IO_HPP
|
||||
|
||||
#include <string>
|
||||
|
||||
struct PositionData
|
||||
{
|
||||
float *xyz[3];
|
||||
pid_t np;
|
||||
|
||||
void destroy()
|
||||
{
|
||||
for (int j = 0; j < 3; j++)
|
||||
delete[] xyz[j];
|
||||
}
|
||||
|
||||
void findExtrema();
|
||||
|
||||
bool readFrom(const std::string& fname);
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue