    

 ## On this page

  

 

 # Interface IMassProperty

 Last update: 16.07.2025 

Namespace: [VM.Models.Pre](VM.Models.Pre.md)  
Assembly: VM.Models.Pre.dll

```csharp
public interface IMassProperty

```

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

### GetMassProperty(ref double, Vector, OMatrix, double\[\], bool)

Gets the mass property.

```csharp
void GetMassProperty(ref double mass, Vector centerPosition, OMatrix matrix, double[] tensor, bool global)

```

#### Parameters

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

The mass.

`centerPosition` Vector

The center position.

`matrix` OMatrix

The orientation.

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

The tensor.

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

Global.

### SetMassProperty(double, Vector, OMatrix, double\[\], bool)

Sets the mass property.

```csharp
void SetMassProperty(double mass, Vector centerPosition, OMatrix matrix, double[] tensor, bool global)

```

#### Parameters

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

The mass.

`centerPosition` Vector

The center position.

`matrix` OMatrix

The orientation.

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

The tensor.

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

Global.