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

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

```csharp theme={null}
public sealed class Body : Entity, IHasID, IFacetable
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[KernelObject](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.CAD.Kernel.KernelObject.md) ←
[Entity](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.CAD.Kernel.Entity.md) ←
[Body](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.CAD.Kernel.Body.md)

#### Implements

IHasID,
[IFacetable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.CAD.Kernel.IFacetable.md)

#### Inherited Members

[Entity.PID](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.CAD.Kernel.Entity.md#VM_CAD_Kernel_Entity_PID),
[KernelObject.Dispose()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.CAD.Kernel.KernelObject.md#VM_CAD_Kernel_KernelObject_Dispose),
[KernelObject.Key](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.CAD.Kernel.KernelObject.md#VM_CAD_Kernel_KernelObject_Key)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/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/2025-r2/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/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_),
[IFacetableExtension.SetGeometryOption(IFacetable, string, string, double)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.CAD.Kernel.IFacetableExtension.md#VM_CAD_Kernel_IFacetableExtension_SetGeometryOption_VM_CAD_Kernel_IFacetable_System_String_System_String_System_Double_)

## Constructors

### Body(UIntPtr)

```csharp theme={null}
public Body(UIntPtr key)
```

#### Parameters

`key` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

## Methods

### ClearFacetDictionary()

```csharp theme={null}
public void ClearFacetDictionary()
```

### GetEdgeKernelProxy(Identifier, out UIntPtr)

```csharp theme={null}
public void GetEdgeKernelProxy(Identifier pid, out UIntPtr edgeProxy)
```

#### Parameters

`pid` Identifier

`edgeProxy` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

### GetFaceKernelProxy(Identifier, out UIntPtr)

```csharp theme={null}
public void GetFaceKernelProxy(Identifier nPID, out UIntPtr faceProxy)
```

#### Parameters

`nPID` Identifier

`faceProxy` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

### GetGeomInfo(double, out Vector\[], out uint\[], bool)

```csharp theme={null}
public bool GetGeomInfo(double lengthFactor, out Vector[] position, out uint[] connectivities, bool bCreateFacetDictionary)
```

#### Parameters

`lengthFactor` [double](https://learn.microsoft.com/dotnet/api/system.double)

`position` Vector\[]

`connectivities` [uint](https://learn.microsoft.com/dotnet/api/system.uint32)\[]

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

#### Returns

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

### GetVoidCount()

```csharp theme={null}
public uint GetVoidCount()
```

#### Returns

[uint](https://learn.microsoft.com/dotnet/api/system.uint32)

### GetVoidPoints(double, out uint)

```csharp theme={null}
public Vector[] GetVoidPoints(double offset, out uint countFailed)
```

#### Parameters

`offset` [double](https://learn.microsoft.com/dotnet/api/system.double)

`countFailed` [uint](https://learn.microsoft.com/dotnet/api/system.uint32)

#### Returns

Vector\[]

### HasDefect(Action\<string>, bool)

```csharp theme={null}
public int HasDefect(Action<string> actWriteMessage, bool bDetailedInformation = false)
```

#### Parameters

`actWriteMessage` [Action](https://learn.microsoft.com/dotnet/api/system.action-1)\<[string](https://learn.microsoft.com/dotnet/api/system.string)>

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

#### Returns

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### RemoveUnusedPoints(Vector\[], uint\[])

```csharp theme={null}
public void RemoveUnusedPoints(Vector[] aryPosTria, uint[] aryConTria)
```

#### Parameters

`aryPosTria` Vector\[]

`aryConTria` [uint](https://learn.microsoft.com/dotnet/api/system.uint32)\[]

### Repair(SimplifyOption, SimplifyOption, double, Action\<string>, bool)

```csharp theme={null}
public int Repair(SimplifyOption simplifySurface = SimplifyOption.ForceSimplify, SimplifyOption simplifyCurve = SimplifyOption.ForceSimplify, double dDesiredGap = -1, Action<string> actWriteMessage = null, bool bDetailedInformation = false)
```

#### Parameters

`simplifySurface` [SimplifyOption](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.CAD.Kernel.SimplifyOption.md)

`simplifyCurve` [SimplifyOption](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.CAD.Kernel.SimplifyOption.md)

`dDesiredGap` [double](https://learn.microsoft.com/dotnet/api/system.double)

`actWriteMessage` [Action](https://learn.microsoft.com/dotnet/api/system.action-1)\<[string](https://learn.microsoft.com/dotnet/api/system.string)>

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

#### Returns

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### UpdateDisplay()

```csharp theme={null}
public void UpdateDisplay()
```
