Files
Triangle.NET/src/MeshExplorer/IO/IMeshFile.cs
T
2022-03-04 22:55:24 +01:00

29 lines
951 B
C#

// -----------------------------------------------------------------------
// <copyright file="IMeshFile.cs" company="">
// Christian Woltering, Triangle.NET, http://triangle.codeplex.com/
// </copyright>
// -----------------------------------------------------------------------
namespace MeshExplorer.IO
{
using TriangleNet.IO;
/// <summary>
/// Defines an interface for mesh file formats.
/// </summary>
public interface IMeshFile : IPolygonFormat, IMeshFormat
{
/// <summary>
/// The supported file extensions.
/// </summary>
string[] Extensions { get; }
/// <summary>
/// Return true, if a (previously saved) mesh is associated with the given file.
/// </summary>
/// <param name="filename">The file name.</param>
/// <returns>True, if a mesh is associated with the given file.</returns>
bool ContainsMeshData(string filename);
}
}