    

 ## On this page

  

 

 # Class MultiBodyCalculation

 Last update: 09.03.2026 

<a id="VM_Managed_DAFUL_MultiBodyCalculation"></a>

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

This class is to represent the calculate multi body.

```csharp
public class MultiBodyCalculation

```

#### Inheritance

object ← [MultiBodyCalculation](VM.Managed.DAFUL.MultiBodyCalculation.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_DAFUL_MultiBodyCalculation__ctor"></a> MultiBodyCalculation()

```csharp
public MultiBodyCalculation()

```

## Methods

### <a id="VM_Managed_DAFUL_MultiBodyCalculation_GetTotalMassInertia_System_Collections_Generic_List_VM_Managed_VectorBase__System_Collections_Generic_List_VM_Managed_OMatrix__System_Collections_Generic_List_System_Double__System_Collections_Generic_List_VM_Unit__System_Collections_Generic_List_VM_Unit__System_Int32_VM_Managed_VectorBase_VM_Managed_DAFUL_MultiBodyCalculation_BodyInf__"></a> GetTotalMassInertia(List&lt;VectorBase&gt;, List&lt;OMatrix&gt;, List&lt;double&gt;, List&lt;Unit&gt;, List&lt;Unit&gt;, int, VectorBase, ref BodyInf)

Gets the total mass inertia.

```csharp
public static bool GetTotalMassInertia(List<VectorBase> lstGlobalCMPos, List<OMatrix> lstGlobalTensor, List<double> lstGlobalMass, List<Unit> lstSrcUnit, List<Unit> lstDstUnit, int nNumberOfBody, VectorBase vecTargetPos, ref MultiBodyCalculation.BodyInf bodyInf)

```

#### Parameters

`lstGlobalCMPos` List&lt;VectorBase&gt;

The global CM pos.

`lstGlobalTensor` List&lt;OMatrix&gt;

The global tensor.

`lstGlobalMass` List&lt;double&gt;

The global mass.

`lstSrcUnit` List&lt;Unit&gt;

The unit of source document.

`lstDstUnit` List&lt;Unit&gt;

The unit of current document.

`nNumberOfBody` int

The number of body.

`vecTargetPos` VectorBase

The target position.

`bodyInf` [MultiBodyCalculation](VM.Managed.DAFUL.MultiBodyCalculation.md).[BodyInf](VM.Managed.DAFUL.MultiBodyCalculation.BodyInf.md)

The body info.

#### Returns

bool

### <a id="VM_Managed_DAFUL_MultiBodyCalculation_GetTotalMassInertia_System_Collections_Generic_List_VM_Managed_VectorBase__System_Collections_Generic_List_VM_Managed_OMatrix__System_Collections_Generic_List_System_Double__System_Int32_VM_Managed_VectorBase_VM_Managed_DAFUL_MultiBodyCalculation_BodyInf__"></a> GetTotalMassInertia(List&lt;VectorBase&gt;, List&lt;OMatrix&gt;, List&lt;double&gt;, int, VectorBase, ref BodyInf)

Gets the total mass inertia.

```csharp
public static bool GetTotalMassInertia(List<VectorBase> lstGlobalCMPos, List<OMatrix> lstGlobalTensor, List<double> lstGlobalMass, int nNumberOfBody, VectorBase vecTargetPos, ref MultiBodyCalculation.BodyInf bodyInf)

```

#### Parameters

`lstGlobalCMPos` List&lt;VectorBase&gt;

The global CM pos.

`lstGlobalTensor` List&lt;OMatrix&gt;

The global tensor.

`lstGlobalMass` List&lt;double&gt;

The global mass.

`nNumberOfBody` int

The number of body.

`vecTargetPos` VectorBase

The target position.

`bodyInf` [MultiBodyCalculation](VM.Managed.DAFUL.MultiBodyCalculation.md).[BodyInf](VM.Managed.DAFUL.MultiBodyCalculation.BodyInf.md)

The body info.

#### Returns

bool

### <a id="VM_Managed_DAFUL_MultiBodyCalculation_GetTotalMassInertiaForAseembledBody_System_Collections_Generic_List_VM_Managed_VectorBase__System_Collections_Generic_List_VM_Managed_OMatrix__System_Collections_Generic_List_System_Double__System_Int32_VM_Managed_DAFUL_MultiBodyCalculation_BodyInf__"></a> GetTotalMassInertiaForAseembledBody(List&lt;VectorBase&gt;, List&lt;OMatrix&gt;, List&lt;double&gt;, int, ref BodyInf)

```csharp
public static bool GetTotalMassInertiaForAseembledBody(List<VectorBase> lstGlobalCMPos, List<OMatrix> lstGlobalTensor, List<double> lstGlobalMass, int nNumberOfBody, ref MultiBodyCalculation.BodyInf bodyInf)

```

#### Parameters

`lstGlobalCMPos` List&lt;VectorBase&gt;

`lstGlobalTensor` List&lt;OMatrix&gt;

`lstGlobalMass` List&lt;double&gt;

`nNumberOfBody` int

`bodyInf` [MultiBodyCalculation](VM.Managed.DAFUL.MultiBodyCalculation.md).[BodyInf](VM.Managed.DAFUL.MultiBodyCalculation.BodyInf.md)

#### Returns

bool