C# Класс MeshExplorer.IO.FileProcessor

Provides static methods to read and write mesh files.
Показать файл Открыть проект

Открытые методы

Метод Описание
CanHandleFile ( string path ) : bool
ContainsMeshData ( string path ) : bool

Returns true, if the given file contains mesh information.

Import ( string path ) : Mesh

Read a mesh from given file.

Read ( string path ) : InputGeometry

Read an input geometry from given file.

Save ( string path, Mesh mesh ) : void

Save the current mesh to given file.

Приватные методы

Метод Описание
CreateProviderInstance ( string ext ) : IMeshFile
GetProviderInstance ( string path ) : IMeshFile

Описание методов

CanHandleFile() публичный статический Метод

public static CanHandleFile ( string path ) : bool
path string
Результат bool

ContainsMeshData() публичный статический Метод

Returns true, if the given file contains mesh information.
public static ContainsMeshData ( string path ) : bool
path string
Результат bool

Import() публичный статический Метод

Read a mesh from given file.
public static Import ( string path ) : Mesh
path string
Результат TriangleNet.Mesh

Read() публичный статический Метод

Read an input geometry from given file.
public static Read ( string path ) : InputGeometry
path string
Результат TriangleNet.Geometry.InputGeometry

Save() публичный статический Метод

Save the current mesh to given file.
public static Save ( string path, Mesh mesh ) : void
path string
mesh TriangleNet.Mesh
Результат void