コード例 #1
0
ファイル: Map3D.cs プロジェクト: bmegli/ev3dev-mapping-ui
	public void SaveToPlyPolygonFileFormat(string filename, string comment)
	{
		BinaryWriter bw=new BinaryWriter(File.Open(filename, FileMode.OpenOrCreate));

		PLYPolygonFileFormat.EmitHeader(bw, VertexCount(), comment);

		foreach (PointCloud pc in mapPointClouds)
			pc.SaveToPlyPolygonFileFormat(bw);

		bw.Close();
	}
コード例 #2
0
	public void SaveToPlyPolygonFileFormat(BinaryWriter bw)
	{
		PLYPolygonFileFormat.EmitVertices(bw, mesh_vertices, AssignedCount());
	}