    

 ## On this page

  

 

 # Class ClipExtensions

 Last update: 16.07.2025 

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

```csharp
public class ClipExtensions

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [ClipExtensions](VM.Models.Pre.Force.ClipExtensions.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

### ClipExtensions()

```csharp
public ClipExtensions()

```

## Methods

### GetDistanceToCenterBoltbymodifiedLeafnumberatbottom(LeafInfo\[\], int, int, ClipInfo\[\], double, double)

```csharp
public static double GetDistanceToCenterBoltbymodifiedLeafnumberatbottom(LeafInfo[] leaves, int numberofleaf, int iLeafnumberatbottom, ClipInfo[] clips, double frontInactiveLength, double rearInactiveLength)

```

#### Parameters

`leaves` [LeafInfo](VM.Models.Pre.Force.LeafInfo.md)\[\]

`numberofleaf` [int](https://learn.microsoft.com/dotnet/api/system.int32)

`iLeafnumberatbottom` [int](https://learn.microsoft.com/dotnet/api/system.int32)

`clips` [ClipInfo](VM.Models.Pre.Force.ClipInfo.md)\[\]

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

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

#### Returns

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

### GetHeightbymodifiedLeafnumberatbottom(LeafInfo\[\], double, int, int)

```csharp
public static double GetHeightbymodifiedLeafnumberatbottom(LeafInfo[] leaves, double distanceToCenterBolt, int iLeafnumberattop, int iLeafnumberatbottom)

```

#### Parameters

`leaves` [LeafInfo](VM.Models.Pre.Force.LeafInfo.md)\[\]

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

`iLeafnumberattop` [int](https://learn.microsoft.com/dotnet/api/system.int32)

`iLeafnumberatbottom` [int](https://learn.microsoft.com/dotnet/api/system.int32)

#### Returns

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

### GetInitialDistanceToCenterBolt(double, double, int, ClipInfo\[\], double, double)

```csharp
public static double GetInitialDistanceToCenterBolt(double lastLeafFirstProfileX, double lastLeafLastProfileX, int numberofleafs, ClipInfo[] clips, double frontInactiveLength, double rearInactiveLength)

```

#### Parameters

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

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

`numberofleafs` [int](https://learn.microsoft.com/dotnet/api/system.int32)

`clips` [ClipInfo](VM.Models.Pre.Force.ClipInfo.md)\[\]

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

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

#### Returns

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

### GetInitialHeight(LeafInfo\[\], double)

```csharp
public static double GetInitialHeight(LeafInfo[] leaves, double distanceToCenterBolt)

```

#### Parameters

`leaves` [LeafInfo](VM.Models.Pre.Force.LeafInfo.md)\[\]

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

#### Returns

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

### GetWidth(LeafInfo\[\])

```csharp
public static double GetWidth(LeafInfo[] leaves)

```

#### Parameters

`leaves` [LeafInfo](VM.Models.Pre.Force.LeafInfo.md)\[\]

#### Returns

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

### ValidationDistanceToCenterBoltOfCurrentClip(LeafInfo\[\], ClipInfo, out double, out double)

```csharp
public static bool ValidationDistanceToCenterBoltOfCurrentClip(LeafInfo[] leaves, ClipInfo curuentclip, out double from, out double to)

```

#### Parameters

`leaves` [LeafInfo](VM.Models.Pre.Force.LeafInfo.md)\[\]

`curuentclip` [ClipInfo](VM.Models.Pre.Force.ClipInfo.md)

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

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

#### Returns

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

### ValidationHeightOfCurrentClip(LeafInfo\[\], ClipInfo, out double)

```csharp
public static bool ValidationHeightOfCurrentClip(LeafInfo[] leaves, ClipInfo curentclip, out double minimumheight)

```

#### Parameters

`leaves` [LeafInfo](VM.Models.Pre.Force.LeafInfo.md)\[\]

`curentclip` [ClipInfo](VM.Models.Pre.Force.ClipInfo.md)

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

#### Returns

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