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

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

This class is to represent the draw face.

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

#### Inheritance

object ←
[FaceDrawHelper](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.CAD.FaceDrawHelper.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_)

## Methods

### DrawNurbs(\_SURFACENURBS\_INFO\*, Canvas)

```csharp theme={null}
public static void DrawNurbs(_SURFACENURBS_INFO* info, Canvas canvas)
```

#### Parameters

`info` \_SURFACENURBS\_INFO\*

`canvas` [Canvas](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VM.CAD.Kernel/Render/Canvas.cs)

### DrawNurbsBoundaryUsingPointQueryFunction(\_CURVENURBS\_INFO\*, Canvas, Face, uint)

```csharp theme={null}
public static void DrawNurbsBoundaryUsingPointQueryFunction(_CURVENURBS_INFO* info, Canvas canvas, Face face, uint nIndex)
```

#### Parameters

`info` \_CURVENURBS\_INFO\*

`canvas` [Canvas](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VM.CAD.Kernel/Render/Canvas.cs)

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

`nIndex` uint

### DrawNurbsUsingPointQueryFunction(\_SURFACENURBS\_INFO\*, Canvas, Face)

```csharp theme={null}
public static void DrawNurbsUsingPointQueryFunction(_SURFACENURBS_INFO* info, Canvas canvas, Face face)
```

#### Parameters

`info` \_SURFACENURBS\_INFO\*

`canvas` [Canvas](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VM.CAD.Kernel/Render/Canvas.cs)

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

### GetNurbsNormalDirection(\_SURFACENURBS\_INFO\*, ref VectorBase, ref VectorBase)

```csharp theme={null}
public static void GetNurbsNormalDirection(_SURFACENURBS_INFO* info, ref VectorBase start, ref VectorBase normal)
```

#### Parameters

`info` \_SURFACENURBS\_INFO\*

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

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

### SetNurbsDrawUtil(INurbsDrawUtil\*)

Set nurbs surface information.

```csharp theme={null}
public static void SetNurbsDrawUtil(INurbsDrawUtil* pNurbsDrawUtil)
```

#### Parameters

`pNurbsDrawUtil` INurbsDrawUtil\*

The nurbs surface information.
