C# Class MeshExplorer.IO.SvgImage

Writes a mesh to an SVG file.
显示文件 Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Public Methods

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

Export the mesh to SVG format.

Private Methods

Method Description
DrawPoints ( StreamWriter svg, Mesh mesh, bool label ) : void
DrawSegments ( StreamWriter svg, Mesh mesh ) : void
DrawTriangles ( StreamWriter svg, Mesh mesh, bool label ) : void

Method Details

Export() public method

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