    

 ## On this page

  

 

 # Interface IMassProp

 Last update: 16.07.2025 

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

This interface is to represent the mass property.

```csharp
public interface IMassProp

```

#### 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_)

## Methods

### GetMassProp(ref double, VectorBase, OMatrix, double\[\], bool)

Gets the mass property.

```csharp
void GetMassProp(ref double dMass, VectorBase vecCenterPosition, OMatrix vecOrientation, double[] arTensor, bool bGlobal)

```

#### Parameters

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

The mass.

`vecCenterPosition` [VectorBase](VM.Managed.VectorBase.md)

The center position.

`vecOrientation` [OMatrix](VM.Managed.OMatrix.md)

The orientation.

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

The tensor.

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

### SetMassProp(double, VectorBase, OMatrix, double\[\], bool)

Sets the mass property.

```csharp
void SetMassProp(double dMass, VectorBase vecCenterPosition, OMatrix vecOrientation, double[] arTensor, bool bGlobal)

```

#### Parameters

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

The mass.

`vecCenterPosition` [VectorBase](VM.Managed.VectorBase.md)

The center position.

`vecOrientation` [OMatrix](VM.Managed.OMatrix.md)

The orientation.

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

The tensor.

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