> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class MesherHelper

Namespace: [VM.Managed](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed)\
Assembly: VMAppCore.dll

This class is to represent the mesh helper

```csharp theme={null}
public class MesherHelper
```

#### Inheritance

object ←
[MesherHelper](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.MesherHelper.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/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 [MesherHelper](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.MesherHelper.md) class.

```csharp theme={null}
public MesherHelper(string strMesherPath)
```

#### Parameters

`strMesherPath` string

The string mesher path.

## Methods

### Dispose(bool)

```csharp theme={null}
[HandleProcessCorruptedStateExceptions]
protected virtual void Dispose(bool A_0)
```

#### Parameters

`A_0` bool

### Dispose()

Finalizes an instance of the [MesherHelper](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.MesherHelper.md) class.

```csharp theme={null}
public override sealed void Dispose()
```

### \~MesherHelper()

!s the mesher helper.

```csharp theme={null}
protected ~MesherHelper()
```

### GetTetraPosAndConn(List\<VectorBase>, List\<uint>)

```csharp theme={null}
public void GetTetraPosAndConn(List<VectorBase> lstPos, List<uint> lstConty)
```

#### Parameters

`lstPos` List\<[VectorBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.VectorBase.md)>

`lstConty` List\<uint>

### GetTetraPosAndConn(vector\<\_VM\_VECTOR,std::allocator\<\_VM\_VECTOR> >\*, vector\<unsigned int,std::allocator\<unsigned int> >\*)

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

#### Parameters

`vecPos` vector\<\_VM\_VECTOR,std::allocator\<\_VM\_VECTOR> >\*

`vecConty` vector\<unsigned int,std::allocator\<unsigned int> >\*

### MesherExecute(basic\_string\<wchar\_t,std::char\_traits\<wchar\_t>,std::allocator\<wchar\_t> >\*, vector\<\_VM\_VECTOR,std::allocator\<\_VM\_VECTOR> >\*, vector\<unsigned int,std::allocator\<unsigned int> >\*, bool, bool, basic\_string\<wchar\_t,std::char\_traits\<wchar\_t>,std::allocator\<wchar\_t> >\*)

```csharp theme={null}
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\<wchar\_t,std::char\_traits\<wchar\_t>,std::allocator\<wchar\_t> >\*

`arvPosition` vector\<\_VM\_VECTOR,std::allocator\<\_VM\_VECTOR> >\*

`arConnectivities` vector\<unsigned int,std::allocator\<unsigned int> >\*

`bUseSurfRemesh` bool

`bMesher` bool

`strOutputType` basic\_string\<wchar\_t,std::char\_traits\<wchar\_t>,std::allocator\<wchar\_t> >\*

#### Returns

bool

### MesherExecuteCLR(string, List\<VectorBase>, List\<uint>, bool, bool, string)

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

#### Parameters

`strNasPathCLR` string

`lstPosition` List\<[VectorBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.VectorBase.md)>

`lstConnectivities` List\<uint>

`bUseSurfRemesh` bool

`bMesher` bool

`strOutputTypeCLR` string

#### Returns

bool

### RunTetraMesher(vector\<\_VM\_VECTOR,std::allocator\<\_VM\_VECTOR> >\*, vector\<unsigned int,std::allocator\<unsigned int> >\*)

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

#### Parameters

`vecPosTria` vector\<\_VM\_VECTOR,std::allocator\<\_VM\_VECTOR> >\*

`vecConnTria` vector\<unsigned int,std::allocator\<unsigned int> >\*

#### Returns

bool

### RunTetraMesherCLR(List\<VectorBase>, List\<uint>)

```csharp theme={null}
public bool RunTetraMesherCLR(List<VectorBase> vecPosTria, List<uint> vecConnTria)
```

#### Parameters

`vecPosTria` List\<[VectorBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.VectorBase.md)>

`vecConnTria` List\<uint>

#### Returns

bool
