mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-05 07:41:11 +00:00
24 lines
316 B
C++
24 lines
316 B
C++
#ifndef __VOZ_IO_HPP
|
|
#define __VOZ_IO_HPP
|
|
|
|
#include <string>
|
|
|
|
struct PositionData
|
|
{
|
|
float *xyz[3];
|
|
pid_t np;
|
|
float xyz_min[3], xyz_max[3];
|
|
float V0;
|
|
|
|
void destroy()
|
|
{
|
|
for (int j = 0; j < 3; j++)
|
|
delete[] xyz[j];
|
|
}
|
|
|
|
void findExtrema();
|
|
|
|
bool readFrom(const std::string& fname);
|
|
};
|
|
|
|
#endif
|