C# Class MeshExplorer.IO.EpsImage

Writes a mesh to an EPS file.
Exibir arquivo Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Public Methods

Method Description
Export ( Mesh mesh, string filename, int width ) : void

Export the mesh to EPS format.

Private Methods

Method Description
DrawClip ( StreamWriter eps ) : void
DrawPoints ( StreamWriter eps, Mesh mesh, bool label ) : void
DrawSegments ( StreamWriter eps, Mesh mesh ) : void
DrawTriangles ( StreamWriter eps, Mesh mesh, bool label ) : void
UpdateMetrics ( TriangleNet.Geometry.BoundingBox bounds ) : void
WriteHeader ( string filename, StreamWriter eps ) : void
WriteTrailer ( StreamWriter eps ) : void

Method Details

Export() public method

Export the mesh to EPS format.
public Export ( Mesh mesh, string filename, int width ) : void
mesh TriangleNet.Mesh The current mesh.
filename string The EPS filename.
width int The desired width of the image (currently ignored).
return void