    

 ## On this page

  

 

 # Class MesherHelper

 Last update: 09.03.2026 

<a id="VM_Managed_MesherHelper"></a>

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

This class is to represent the mesh helper

```csharp
public class MesherHelper

```

#### Inheritance

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

### <a id="VM_Managed_MesherHelper__ctor_System_String_"></a> MesherHelper(string)

Initializes a new instance of the  class.

```csharp
public MesherHelper(string strMesherPath)

```

#### Parameters

`strMesherPath` string

The string mesher path.

## Methods

### <a id="VM_Managed_MesherHelper_Dispose_System_Boolean_"></a> Dispose(bool)

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

```

#### Parameters

`A_0` bool

### <a id="VM_Managed_MesherHelper_Dispose"></a> Dispose()

Finalizes an instance of the  class.

```csharp
public override sealed void Dispose()

```

### <a id="VM_Managed_MesherHelper_Finalize"></a> ~MesherHelper()

!s the mesher helper.

```csharp
protected ~MesherHelper()

```

### <a id="VM_Managed_MesherHelper_GetTetraPosAndConn_System_Collections_Generic_List_VM_Managed_VectorBase__System_Collections_Generic_List_System_UInt32__"></a> GetTetraPosAndConn(List&lt;VectorBase&gt;, List&lt;uint&gt;)

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

```

#### Parameters

`lstPos` List&lt;[VectorBase](VM.Managed.VectorBase.md)&gt;

`lstConty` List&lt;uint&gt;

### <a id="VM_Managed_MesherHelper_GetTetraPosAndConn_std_vector__VM_VECTOR_std__allocator__VM_VECTOR_____std_vector_unsigned_int_std__allocator_unsigned_int_____"></a> 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;\*

`vecConty` vector&lt;unsigned int,std::allocator&lt;unsigned int&gt; &gt;\*

### <a id="VM_Managed_MesherHelper_MesherExecute_std_basic_string_wchar_t_std__char_traits_wchar_t__std__allocator_wchar_t_____std_vector__VM_VECTOR_std__allocator__VM_VECTOR_____std_vector_unsigned_int_std__allocator_unsigned_int_____System_Boolean_System_Boolean_std_basic_string_wchar_t_std__char_traits_wchar_t__std__allocator_wchar_t_____"></a> 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;\*

`arvPosition` vector&lt;\_VM\_VECTOR,std::allocator&lt;\_VM\_VECTOR&gt; &gt;\*

`arConnectivities` vector&lt;unsigned int,std::allocator&lt;unsigned int&gt; &gt;\*

`bUseSurfRemesh` bool

`bMesher` bool

`strOutputType` basic\_string&lt;wchar\_t,std::char\_traits&lt;wchar\_t&gt;,std::allocator&lt;wchar\_t&gt; &gt;\*

#### Returns

bool

### <a id="VM_Managed_MesherHelper_MesherExecuteCLR_System_String_System_Collections_Generic_List_VM_Managed_VectorBase__System_Collections_Generic_List_System_UInt32__System_Boolean_System_Boolean_System_String_"></a> 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

`lstPosition` List&lt;[VectorBase](VM.Managed.VectorBase.md)&gt;

`lstConnectivities` List&lt;uint&gt;

`bUseSurfRemesh` bool

`bMesher` bool

`strOutputTypeCLR` string

#### Returns

bool

### <a id="VM_Managed_MesherHelper_RunTetraMesher_std_vector__VM_VECTOR_std__allocator__VM_VECTOR_____std_vector_unsigned_int_std__allocator_unsigned_int_____"></a> 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;\*

`vecConnTria` vector&lt;unsigned int,std::allocator&lt;unsigned int&gt; &gt;\*

#### Returns

bool

### <a id="VM_Managed_MesherHelper_RunTetraMesherCLR_System_Collections_Generic_List_VM_Managed_VectorBase__System_Collections_Generic_List_System_UInt32__"></a> RunTetraMesherCLR(List&lt;VectorBase&gt;, List&lt;uint&gt;)

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

```

#### Parameters

`vecPosTria` List&lt;[VectorBase](VM.Managed.VectorBase.md)&gt;

`vecConnTria` List&lt;uint&gt;

#### Returns

bool