1
/***************************************************************************
2
* Copyright (c) Juergen Riegel 2007 <juergen.riegel@web.de> *
4
***************************************************************************/
11
/** simple facet structure */
12
struct SimpleMeshFacet {
13
float p1[3],p2[3],p3[3],n[3];
16
/** Reads a JT File an build up the internal data structure
17
* imports all the meshes of all Parts, recursing the Assamblies.
19
void readFile(const char* FileName, int iLods = 0);
21
/** Write the read Part to a file */
22
void writeAsciiSTL(const char* FileName);
24
/** start the iterator on the result */
25
const SimpleMeshFacet* iterStart(void);
27
/** get the faces or 0 at end */
28
const SimpleMeshFacet* iterGetNext(void);
30
/** size of the result */
31
unsigned int iterSize(void);
33
/** clears the internal structure */
36
#endif // __JtReader_h__
b'\\ No newline at end of file'