C# Class TriangleNet.IO.DebugWriter

Writes a the current mesh into a text file.
File format: num_nodes id_1 nx ny mark ... id_n nx ny mark num_segs id_1 p1 p2 mark ... id_n p1 p2 mark num_tris id_1 p1 p2 p3 n1 n2 n3 ... id_n p1 p2 p3 n1 n2 n3
显示文件 Open project: filipkunc/GLGraphics Class Usage Examples

Public Methods

Method Description
Finish ( ) : void

Finish this session.

Start ( string session ) : void

Start a new session with given name.

Write ( Mesh mesh, bool skip ) : void

Write complete mesh to file.

Private Methods

Method Description
DebugWriter ( ) : System
Finish ( string path ) : void
HashVertices ( Mesh mesh ) : void
VerticesChanged ( Mesh mesh ) : bool
WriteGeometry ( InputGeometry geometry ) : void
WriteMesh ( Mesh mesh, bool skip ) : void

Method Details

Finish() public method

Finish this session.
public Finish ( ) : void
return void

Start() public method

Start a new session with given name.
public Start ( string session ) : void
session string
return void

Write() public method

Write complete mesh to file.
public Write ( Mesh mesh, bool skip ) : void
mesh Mesh
skip bool
return void