25 #define LINE_MAX_LEN 256
26 #define COR3_MAX 200000
28 #define FACE_MAX 200000
48 public:
virtual Mesh *
Load(
const std::string &filename);
53 private:
bool ReadAscii(FILE *_filein,
Mesh *_mesh);
58 private:
bool ReadBinary(FILE *_filein,
Mesh *_mesh);
64 private:
bool Leqi(
char* _string1,
char* _string2);
71 private:
int RcolFind(
float _a[][
COR3_MAX],
int _m,
int _n,
float _r[]);
76 private: uint32_t LongIntRead(FILE *_filein);
82 private:
bool ShortIntRead(FILE *_filein, uint16_t &_value);
88 private:
bool FloatRead(FILE *_filein,
double &_value);