> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class ClipExtensions

Namespace: [VM.Models.Pre.Force](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Force)\
Assembly: VM.Models.Pre.Force.LeafSpring.dll

```csharp theme={null}
public class ClipExtensions
```

#### Inheritance

object ←
[ClipExtensions](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Force.ClipExtensions.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### ClipExtensions()

```csharp theme={null}
public ClipExtensions()
```

## Methods

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

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

#### Parameters

`leaves` [LeafInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Force.LeafInfo.md)\[]

`numberofleaf` int

`iLeafnumberatbottom` int

`clips` [ClipInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Force.ClipInfo.md)\[]

`frontInactiveLength` double

`rearInactiveLength` double

#### Returns

double

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

```csharp theme={null}
public static double GetHeightbymodifiedLeafnumberatbottom(LeafInfo[] leaves, double distanceToCenterBolt, int iLeafnumberattop, int iLeafnumberatbottom)
```

#### Parameters

`leaves` [LeafInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Force.LeafInfo.md)\[]

`distanceToCenterBolt` double

`iLeafnumberattop` int

`iLeafnumberatbottom` int

#### Returns

double

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

```csharp theme={null}
public static double GetInitialDistanceToCenterBolt(double lastLeafFirstProfileX, double lastLeafLastProfileX, int numberofleafs, ClipInfo[] clips, double frontInactiveLength, double rearInactiveLength)
```

#### Parameters

`lastLeafFirstProfileX` double

`lastLeafLastProfileX` double

`numberofleafs` int

`clips` [ClipInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Force.ClipInfo.md)\[]

`frontInactiveLength` double

`rearInactiveLength` double

#### Returns

double

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

```csharp theme={null}
public static double GetInitialHeight(LeafInfo[] leaves, double distanceToCenterBolt)
```

#### Parameters

`leaves` [LeafInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Force.LeafInfo.md)\[]

`distanceToCenterBolt` double

#### Returns

double

### GetWidth(LeafInfo\[])

```csharp theme={null}
public static double GetWidth(LeafInfo[] leaves)
```

#### Parameters

`leaves` [LeafInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Force.LeafInfo.md)\[]

#### Returns

double

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

```csharp theme={null}
public static bool ValidationDistanceToCenterBoltOfCurrentClip(LeafInfo[] leaves, ClipInfo curuentclip, out double from, out double to)
```

#### Parameters

`leaves` [LeafInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Force.LeafInfo.md)\[]

`curuentclip` [ClipInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Force.ClipInfo.md)

`from` double

`to` double

#### Returns

bool

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

```csharp theme={null}
public static bool ValidationHeightOfCurrentClip(LeafInfo[] leaves, ClipInfo curentclip, out double minimumheight)
```

#### Parameters

`leaves` [LeafInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Force.LeafInfo.md)\[]

`curentclip` [ClipInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Force.ClipInfo.md)

`minimumheight` double

#### Returns

bool
