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

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

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

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[ShackleExtensions](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Force.ShackleExtensions.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/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/2025-r1/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/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### ShackleExtensions()

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

## Methods

### GetOffsetXAtShackeToFramePosition((double X, double Z), ShackleLocationType, Point2D, Point2D)

```csharp theme={null}
public static double GetOffsetXAtShackeToFramePosition((double X, double Z) shacketoframepos, ShackleLocationType ShackleLocation, Point2D calculatedfronteyepos, Point2D calculatedreareyepos)
```

#### Parameters

`shacketoframepos` ([double](https://learn.microsoft.com/dotnet/api/system.double) [X](https://learn.microsoft.com/dotnet/api/system.valuetuple-system.double,system.double-.x), [double](https://learn.microsoft.com/dotnet/api/system.double) [Z](https://learn.microsoft.com/dotnet/api/system.valuetuple-system.double,system.double-.z))

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

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

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

#### Returns

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

### GetPositontypAtShackeToFramePosition((double X, double Z), ShackleLocationType, Point2D, Point2D)

```csharp theme={null}
public static ShacklePositonType GetPositontypAtShackeToFramePosition((double X, double Z) shacketoframepos, ShackleLocationType ShackleLocation, Point2D calculatedfronteyepos, Point2D calculatedreareyepos)
```

#### Parameters

`shacketoframepos` ([double](https://learn.microsoft.com/dotnet/api/system.double) [X](https://learn.microsoft.com/dotnet/api/system.valuetuple-system.double,system.double-.x), [double](https://learn.microsoft.com/dotnet/api/system.double) [Z](https://learn.microsoft.com/dotnet/api/system.valuetuple-system.double,system.double-.z))

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

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

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

#### Returns

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

### GetSelectedPosBasedOnLocalRF(Point3D, double\[])

```csharp theme={null}
public static (double X, double Z) GetSelectedPosBasedOnLocalRF(Point3D selectedpos, double[] ATranspos_ref_frame)
```

#### Parameters

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

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

#### Returns

([double](https://learn.microsoft.com/dotnet/api/system.double) [X](https://learn.microsoft.com/dotnet/api/system.valuetuple-system.double,system.double-.x), [double](https://learn.microsoft.com/dotnet/api/system.double) [Z](https://learn.microsoft.com/dotnet/api/system.valuetuple-system.double,system.double-.z))

### GetShackeLength((double X, double Z), ShackleLocationType, Point2D, Point2D)

```csharp theme={null}
public static double GetShackeLength((double X, double Z) shacketoframepos, ShackleLocationType ShackleLocation, Point2D calculatedfronteyepos, Point2D calculatedreareyepos)
```

#### Parameters

`shacketoframepos` ([double](https://learn.microsoft.com/dotnet/api/system.double) [X](https://learn.microsoft.com/dotnet/api/system.valuetuple-system.double,system.double-.x), [double](https://learn.microsoft.com/dotnet/api/system.double) [Z](https://learn.microsoft.com/dotnet/api/system.valuetuple-system.double,system.double-.z))

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

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

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

#### Returns

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

### GetShackeToFramePosition((double X, double Z), (double X, double Z), Point2D, Point2D)

```csharp theme={null}
public static (double X, double Z) GetShackeToFramePosition((double X, double Z) localrfselectedeyepos, (double X, double Z) localrfselectedshackletoframepos, Point2D calculatedfronteyepos, Point2D calculatedreareyepos)
```

#### Parameters

`localrfselectedeyepos` ([double](https://learn.microsoft.com/dotnet/api/system.double) [X](https://learn.microsoft.com/dotnet/api/system.valuetuple-system.double,system.double-.x), [double](https://learn.microsoft.com/dotnet/api/system.double) [Z](https://learn.microsoft.com/dotnet/api/system.valuetuple-system.double,system.double-.z))

`localrfselectedshackletoframepos` ([double](https://learn.microsoft.com/dotnet/api/system.double) [X](https://learn.microsoft.com/dotnet/api/system.valuetuple-system.double,system.double-.x), [double](https://learn.microsoft.com/dotnet/api/system.double) [Z](https://learn.microsoft.com/dotnet/api/system.valuetuple-system.double,system.double-.z))

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

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

#### Returns

([double](https://learn.microsoft.com/dotnet/api/system.double) [X](https://learn.microsoft.com/dotnet/api/system.valuetuple-system.double,system.double-.x), [double](https://learn.microsoft.com/dotnet/api/system.double) [Z](https://learn.microsoft.com/dotnet/api/system.valuetuple-system.double,system.double-.z))

### GetWhereOfShackeToFramePosition(double, double)

```csharp theme={null}
public static ShackleLocationType GetWhereOfShackeToFramePosition(double localrfselectedeyeposX, double localrfselectedshackletoframeposX)
```

#### Parameters

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

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

#### Returns

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

### GetshackleInertia(double, double, double, double)

```csharp theme={null}
public static double[] GetshackleInertia(double mainleafwidth, double outerradius, double length, double mass)
```

#### Parameters

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

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

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

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

#### Returns

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

### GetshackleMass(double, double, double, double)

```csharp theme={null}
public static double GetshackleMass(double density, double mainleafwidth, double outerradius, double length)
```

#### Parameters

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

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

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

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

#### Returns

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