Class MultiBodyCalculation
Last update: 16.07.2025Namespace: VM.Managed.DAFUL
Assembly: VMDFBase.dll
This class is to represent the calculate multi body.
public class MultiBodyCalculation
Inheritance
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
MultiBodyCalculation()
public MultiBodyCalculation()
Methods
GetTotalMassInertia(List, List, List, List, List, 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
The global CM pos.
lstGlobalTensor List
The global tensor.
The global mass.
lstSrcUnit List
The unit of source document.
lstDstUnit List
The unit of current document.
nNumberOfBody int
The number of body.
vecTargetPos VectorBase
The target position.
bodyInf MultiBodyCalculation.BodyInf
The body info.
Returns
GetTotalMassInertia(List, List, List, 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
The global CM pos.
lstGlobalTensor List
The global tensor.
The global mass.
nNumberOfBody int
The number of body.
vecTargetPos VectorBase
The target position.
bodyInf MultiBodyCalculation.BodyInf
The body info.