> ## 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.

# Interface IFaceInformation

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

This interface is to represent the face information.

```csharp theme={null}
public interface IFaceInformation
```

#### 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_)

## Methods

### GetMinimumDistance(IFaceInformation, TMatrix, TMatrix, double)

Gets the minimum distance.

```csharp theme={null}
double GetMinimumDistance(IFaceInformation compare_info, TMatrix mat, TMatrix compare_mat, double dLengthFactor)
```

#### Parameters

`compare_info` [IFaceInformation](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.IFaceInformation.md)

The face information of compare.

`mat` [TMatrix](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.TMatrix.md)

The matrix.

`compare_mat` [TMatrix](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.TMatrix.md)

The matrix of compare.

`dLengthFactor` double

The length factor.

#### Returns

double

The minimum distance.

### GetMinimumDistanceAndDirection(IFaceInformation, TMatrix, TMatrix, ref VectorBase\[], double)

Gets the minimum distance.

```csharp theme={null}
double GetMinimumDistanceAndDirection(IFaceInformation compare_info, TMatrix mat, TMatrix compare_mat, ref VectorBase[] arDirection, double dLengthFactor)
```

#### Parameters

`compare_info` [IFaceInformation](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.IFaceInformation.md)

The face information of compare.

`mat` [TMatrix](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.TMatrix.md)

The matrix.

`compare_mat` [TMatrix](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.TMatrix.md)

The matrix of compare.

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

The direction.

`dLengthFactor` double

The length factor.

#### Returns

double

The minimum distance and direction.

### GetPointAndConnectivity(FacetOption, ref VectorBase\[], ref int\[], ref int\[], Reference, double)

Get points and connectivity about face.

```csharp theme={null}
void GetPointAndConnectivity(FacetOption facetOptions, ref VectorBase[] arPt, ref int[] arConnectivity, ref int[] arNumOfConnectivity, Reference reference, double dLengthFactor)
```

#### Parameters

`facetOptions` [FacetOption](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/FacetOption.cs)

The facet options.

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

The facet point array.

`arConnectivity` int\[]

The facet connetivity array.

`arNumOfConnectivity` int\[]

The number of connectivity node array.

`reference` [Reference](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Reference.md)

The reference.

`dLengthFactor` double

The length factor.
