Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Class MultiBodyCalculation

Last update: 16.07.2025

Namespace: VM.Managed.DAFUL
Assembly: VMDFBase.dll

This class is to represent the calculate multi body.

public class MultiBodyCalculation

Inheritance

object ← MultiBodyCalculation

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

MultiBodyCalculation()

public MultiBodyCalculation()

Methods

GetTotalMassInertia(List<VectorBase>, List<OMatrix>, List<double>, List<Unit>, List<Unit>, int, VectorBase, ref BodyInf)

Gets the total mass inertia.

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<VectorBase>

The global CM pos.

lstGlobalTensor List<OMatrix>

The global tensor.

lstGlobalMass List<double>

The global mass.

lstSrcUnit List<Unit>

The unit of source document.

lstDstUnit List<Unit>

The unit of current document.

nNumberOfBody int

The number of body.

vecTargetPos VectorBase

The target position.

bodyInf MultiBodyCalculation.BodyInf

The body info.

Returns

bool

GetTotalMassInertia(List<VectorBase>, List<OMatrix>, List<double>, int, VectorBase, ref BodyInf)

Gets the total mass inertia.

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

Parameters

lstGlobalCMPos List<VectorBase>

The global CM pos.

lstGlobalTensor List<OMatrix>

The global tensor.

lstGlobalMass List<double>

The global mass.

nNumberOfBody int

The number of body.

vecTargetPos VectorBase

The target position.

bodyInf MultiBodyCalculation.BodyInf

The body info.

Returns

bool

Connect with Ansys