    

 ## On this page

  

 

 # Class MesherHelper

 Last update: 16.07.2025 

Namespace: [VM.Managed](VM.Managed.md)  
Assembly: VMAppCore.dll

This class is to represent the mesh helper

```csharp
public class MesherHelper

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [MesherHelper](VM.Managed.MesherHelper.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### MesherHelper(string)

Initializes a new instance of the  class.

```csharp
public MesherHelper(string strMesherPath)

```

#### Parameters

`strMesherPath` [string](https://learn.microsoft.com/dotnet/api/system.string)

The string mesher path.

## Methods

### Dispose(bool)

```csharp
[HandleProcessCorruptedStateExceptions]
protected virtual void Dispose(bool A_0)

```

#### Parameters

`A_0` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Dispose()

Finalizes an instance of the  class.

```csharp
public override sealed void Dispose()

```

### ~MesherHelper()

!s the mesher helper.

```csharp
protected ~MesherHelper()

```

### GetTetraPosAndConn(List&lt;VectorBase&gt;, List&lt;uint&gt;)

```csharp
public void GetTetraPosAndConn(List<VectorBase> lstPos, List<uint> lstConty)

```

#### Parameters

`lstPos` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[VectorBase](VM.Managed.VectorBase.md)&gt;

`lstConty` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[uint](https://learn.microsoft.com/dotnet/api/system.uint32)&gt;

### GetTetraPosAndConn(vector&lt;\_VM\_VECTOR,std::allocator&lt;\_VM\_VECTOR&gt; &gt;\*, vector&lt;unsigned int,std::allocator&lt;unsigned int&gt; &gt;\*)

```csharp
public void GetTetraPosAndConn(vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >* vecPos, vector<unsigned int,std::allocator<unsigned int> >* vecConty)

```

#### Parameters

`vecPos` [vector&lt;\_VM\_VECTOR,std::allocator&lt;\_VM\_VECTOR&gt; &gt;](std.vector%3C_VM_VECTOR,std.md)\*

`vecConty` \[vector&lt;unsigned int,std::allocator&lt;unsigned int&gt; &gt;\](std.vector&lt;unsigned int,std.md)\*

### MesherExecute(basic\_string&lt;wchar\_t,std::char\_traits&lt;wchar\_t&gt;,std::allocator&lt;wchar\_t&gt; &gt;\*, vector&lt;\_VM\_VECTOR,std::allocator&lt;\_VM\_VECTOR&gt; &gt;\*, vector&lt;unsigned int,std::allocator&lt;unsigned int&gt; &gt;\*, bool, bool, basic\_string&lt;wchar\_t,std::char\_traits&lt;wchar\_t&gt;,std::allocator&lt;wchar\_t&gt; &gt;\*)

```csharp
public bool MesherExecute(basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >* strNasPath, vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >* arvPosition, vector<unsigned int,std::allocator<unsigned int> >* arConnectivities, bool bUseSurfRemesh, bool bMesher, basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >* strOutputType)

```

#### Parameters

`strNasPath` [basic\_string&lt;wchar\_t,std::char\_traits&lt;wchar\_t&gt;,std::allocator&lt;wchar\_t&gt; &gt;](std.basic_string%3Cwchar_t,std.md)\*

`arvPosition` [vector&lt;\_VM\_VECTOR,std::allocator&lt;\_VM\_VECTOR&gt; &gt;](std.vector%3C_VM_VECTOR,std.md)\*

`arConnectivities` \[vector&lt;unsigned int,std::allocator&lt;unsigned int&gt; &gt;\](std.vector&lt;unsigned int,std.md)\*

`bUseSurfRemesh` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

`bMesher` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

`strOutputType` [basic\_string&lt;wchar\_t,std::char\_traits&lt;wchar\_t&gt;,std::allocator&lt;wchar\_t&gt; &gt;](std.basic_string%3Cwchar_t,std.md)\*

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### MesherExecuteCLR(string, List&lt;VectorBase&gt;, List&lt;uint&gt;, bool, bool, string)

```csharp
public bool MesherExecuteCLR(string strNasPathCLR, List<VectorBase> lstPosition, List<uint> lstConnectivities, bool bUseSurfRemesh, bool bMesher, string strOutputTypeCLR)

```

#### Parameters

`strNasPathCLR` [string](https://learn.microsoft.com/dotnet/api/system.string)

`lstPosition` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[VectorBase](VM.Managed.VectorBase.md)&gt;

`lstConnectivities` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[uint](https://learn.microsoft.com/dotnet/api/system.uint32)&gt;

`bUseSurfRemesh` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

`bMesher` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

`strOutputTypeCLR` [string](https://learn.microsoft.com/dotnet/api/system.string)

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### RunTetraMesher(vector&lt;\_VM\_VECTOR,std::allocator&lt;\_VM\_VECTOR&gt; &gt;\*, vector&lt;unsigned int,std::allocator&lt;unsigned int&gt; &gt;\*)

```csharp
public bool RunTetraMesher(vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >* vecPosTria, vector<unsigned int,std::allocator<unsigned int> >* vecConnTria)

```

#### Parameters

`vecPosTria` [vector&lt;\_VM\_VECTOR,std::allocator&lt;\_VM\_VECTOR&gt; &gt;](std.vector%3C_VM_VECTOR,std.md)\*

`vecConnTria` \[vector&lt;unsigned int,std::allocator&lt;unsigned int&gt; &gt;\](std.vector&lt;unsigned int,std.md)\*

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### RunTetraMesherCLR(List&lt;VectorBase&gt;, List&lt;uint&gt;)

```csharp
public bool RunTetraMesherCLR(List<VectorBase> vecPosTria, List<uint> vecConnTria)

```

#### Parameters

`vecPosTria` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[VectorBase](VM.Managed.VectorBase.md)&gt;

`vecConnTria` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[uint](https://learn.microsoft.com/dotnet/api/system.uint32)&gt;

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)