Esempio n. 1
0
	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();
	}
Esempio n. 2
0
	public void SaveToPlyPolygonFileFormat(BinaryWriter bw)
	{
		PLYPolygonFileFormat.EmitVertices(bw, mesh_vertices, AssignedCount());
	}