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

Namespace: [VM.Managed.DAFUL](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL)\
Assembly: VMDSB.dll

This base class is to represent the spline value.

```csharp theme={null}
public sealed class SplineValue : SplineData, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable
```

#### Inheritance

object ←
ObservableObject ←
[LinkableBase](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/LinkableBase.cs) ←
LinkContainer ←
[SplineData](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SplineData.md) ←
[SplineValue](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SplineValue.md)

#### Implements

IObservableObject,
IDisposableObject,
ILinkable,
IObject,
ILinkContainer,
IOwned,
IHasID,
IEventProvider,
ILinkContainerEvent,
IVerifiable

#### Inherited Members

[SplineData.GetPoints()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_GetPoints),
[SplineData.GetPoints(string)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_GetPoints_System_String_),
[SplineData.GetPoints(List\<double>, List\<double>)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_GetPoints_System_Collections_Generic_List_System_Double__System_Collections_Generic_List_System_Double__),
[SplineData.GetPoints(List\<double>, List\<double>, string)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_GetPoints_System_Collections_Generic_List_System_Double__System_Collections_Generic_List_System_Double__System_String_),
[SplineData.GetSchema()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_GetSchema),
[SplineData.ReadXml(XmlReader)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_ReadXml_System_Xml_XmlReader_),
[SplineData.WriteXml(XmlWriter)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_WriteXml_System_Xml_XmlWriter_),
[SplineData.Type](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_Type),
[SplineData.ContainsNegativeNumber](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_ContainsNegativeNumber),
LinkContainer.SetModified(),
LinkContainer.raise\_OnUpdating(object, LinkEventArgs),
LinkContainer.raise\_OnUpdate(object, LinkEventArgs),
LinkContainer.raise\_OnDestroying(object, LinkEventArgs),
LinkContainer.raise\_OnDestroy(object, LinkEventArgs),
LinkContainer.raise\_OnAdded(object, AddToDocEventArgs),
LinkContainer.raise\_OnRemoved(object, RemoveFromDocEventArgs),
LinkContainer.GetTargetListForUpdate(),
LinkContainer.SkipUpdateObjectImpl(),
LinkContainer.Initialize(Unit.ConvertFactor),
LinkContainer.SetFlagWhenXMLFile(string, bool),
LinkContainer.SetContainer(IOwned, bool),
LinkContainer.Container,
LinkContainer.Owner,
LinkContainer.Document,
LinkContainer.ID,
LinkContainer.IsChildExternable,
LinkContainer.IsExternable,
LinkContainer.OnRemoved,
LinkContainer.OnAdded,
LinkContainer.OnDestroy,
LinkContainer.OnDestroying,
LinkContainer.OnUpdate,
LinkContainer.OnUpdating,
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

### SplineValue()

Initializes a new instance of the [SplineValue](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SplineValue.md) class.

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

## Properties

### ContainsNegativeNumber

Gets the flag whether number is negative or not.

```csharp theme={null}
public override bool ContainsNegativeNumber { get; }
```

#### Property Value

bool

### TwoPoints

Gets or sets the two points.

```csharp theme={null}
public List<SplineValue.TwoPoint> TwoPoints { get; set; }
```

#### Property Value

List\<[SplineValue](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SplineValue.md).[TwoPoint](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SplineValue.TwoPoint.md)>

### Type

Gets or sets the type.

```csharp theme={null}
public override SplineData.DataType Type { get; protected set; }
```

#### Property Value

[SplineData](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SplineData.md).[DataType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SplineData.DataType.md)

## Methods

### GetPoint(int)

Get the point

```csharp theme={null}
public (double, double) GetPoint(int nIndex)
```

#### Parameters

`nIndex` int

The index

#### Returns

(double, double)

### GetPoints()

Gets the points.

```csharp theme={null}
public override IEnumerable<SplineData.Point> GetPoints()
```

#### Returns

IEnumerable\<[SplineData](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SplineData.md).[Point](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SplineData.Point.md)>

The point list.

### GetPoints(string)

Gets the points.

```csharp theme={null}
public override IEnumerable<SplineData.Point> GetPoints(string documentFilePath)
```

#### Parameters

`documentFilePath` string

The Document file path.

#### Returns

IEnumerable\<[SplineData](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SplineData.md).[Point](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SplineData.Point.md)>

The point list.

### GetPoints(List\<double>, List\<double>)

Gets the points.

```csharp theme={null}
public override void GetPoints(List<double> lstX, List<double> lstY)
```

#### Parameters

`lstX` List\<double>

The LST X.

`lstY` List\<double>

The LST Y.

### GetPoints(List\<double>, List\<double>, string)

Gets the points.

```csharp theme={null}
public override void GetPoints(List<double> lstX, List<double> lstY, string strDocumentFilePath)
```

#### Parameters

`lstX` List\<double>

The LST X.

`lstY` List\<double>

The LST Y.

`strDocumentFilePath` string

The Document file path.

### GetSchema()

This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.

```csharp theme={null}
public override XmlSchema GetSchema()
```

#### Returns

XmlSchema

An XmlSchema that describes the XML representation of the object that is produced by the WriteXml() method and consumed by the ReadXml() method.

### ReadXml(XmlReader)

Generates an object from its XML representation.

```csharp theme={null}
public override void ReadXml(XmlReader reader)
```

#### Parameters

`reader` XmlReader

The XmlReader stream from which the object is deserialized.

### SetPoints(List\<double>, List\<double>)

Sets the points.

```csharp theme={null}
public void SetPoints(List<double> lstX, List<double> lstY)
```

#### Parameters

`lstX` List\<double>

The LST X.

`lstY` List\<double>

The LST Y.

### WriteXml(XmlWriter)

Converts an object into its XML representation.

```csharp theme={null}
public override void WriteXml(XmlWriter writer)
```

#### Parameters

`writer` XmlWriter

The XmlWriter stream to which the object is serialized.
