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

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

```csharp theme={null}
public sealed class TorqueMap : ValidatableBase, IObservableObject, IDisposableObject, IValidatable
```

#### Inheritance

object ←
ObservableObject ←
[ValidatableBase](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs) ←
[TorqueMap](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.TorqueMap.md)

#### Implements

IObservableObject,
IDisposableObject,
IValidatable

#### Inherited Members

[ValidatableBase.RaisePropertyChanged(string)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
[ValidatableBase.SuspendValidate()](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
[ValidatableBase.Validate()](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
[ValidatableBase.Validate(ValidationContext)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
[ValidatableBase.CanValidate](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
[ValidatableBase.Errors](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
[ValidatableBase.HasValidationAttribute](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
[ValidatableBase.HasValidator](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
[ValidatableBase.IsValid](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
[ValidatableBase.ValidateTrigger](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
[ValidatableBase.ErrorsChanged](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
ObservableObject.Dispose(),
ObservableObject.RaisePropertyChanged(string),
ObservableObject.RaisePropertyChanged(string, object, object),
ObservableObject.IsDisposed,
ObservableObject.TryDisposing,
ObservableObject.Disposed,
ObservableObject.Disposing,
ObservableObject.PropertyChanged

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

### TorqueMap(bool)

```csharp theme={null}
public TorqueMap(bool isPowerSplitMap)
```

#### Parameters

`isPowerSplitMap` bool

## Properties

### IsPowerSplitMap

```csharp theme={null}
public bool IsPowerSplitMap { get; set; }
```

#### Property Value

bool

## Methods

### GetDistinctXValues()

```csharp theme={null}
public double[] GetDistinctXValues()
```

#### Returns

double\[]

### GetMaximumY()

```csharp theme={null}
public double GetMaximumY()
```

#### Returns

double

### GetMinimumY()

```csharp theme={null}
public double GetMinimumY()
```

#### Returns

double

### GetXValues(double)

```csharp theme={null}
public double[] GetXValues(double z)
```

#### Parameters

`z` double

#### Returns

double\[]

### GetXYPairs(double)

```csharp theme={null}
public IEnumerable<KeyValuePair<double, double>> GetXYPairs(double rpm)
```

#### Parameters

`rpm` double

#### Returns

IEnumerable\<KeyValuePair\<double, double>>

### GetYValue(double, double)

```csharp theme={null}
public double GetYValue(double z, double x)
```

#### Parameters

`z` double

`x` double

#### Returns

double

### GetZAndLastYValues()

```csharp theme={null}
public IEnumerable<DataPoint> GetZAndLastYValues()
```

#### Returns

IEnumerable\<DataPoint>

### GetZValues()

```csharp theme={null}
public double[] GetZValues()
```

#### Returns

double\[]
