Skip to main content

Motion Standalone Preprocessor C# library 2025 R1

Class SplineValue

Last update: 16.07.2025

Namespace: VM.Managed.DAFUL
Assembly: VMDSB.dll

This base class is to represent the spline value.

public sealed class SplineValue : SplineData, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable

Inheritance

object ← ObservableObject ← LinkableBase ← LinkContainer ← SplineDataSplineValue

Implements

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

Inherited Members

SplineData.GetPoints(), SplineData.GetPoints(string), SplineData.GetPoints(List, List), SplineData.GetPoints(List, List, string), SplineData.GetSchema(), SplineData.ReadXml(XmlReader), SplineData.WriteXml(XmlWriter), SplineData.Type, 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), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)

Constructors

SplineValue()

Initializes a new instance of the class.

public SplineValue()

Properties

ContainsNegativeNumber

Gets the flag whether number is negative or not.

public override bool ContainsNegativeNumber { get; }

Property Value

bool

TwoPoints

Gets or sets the two points.

public List<splinevalue> TwoPoints { get; set; }

Property Value

ListSplineValue.TwoPoint&gt;

Type

Gets or sets the type.

public override SplineData.DataType Type { get; protected set; }

Property Value

SplineData.DataType

Methods

GetPoint(int)

Get the point

public (double, double) GetPoint(int nIndex)

Parameters

nIndex int

The index

Returns

(double, double)

GetPoints()

Gets the points.

public override IEnumerable<splinedata> GetPoints()

Returns

IEnumerableSplineData.Point&gt;

The point list.

GetPoints(string)

Gets the points.

public override IEnumerable<splinedata> GetPoints(string documentFilePath)

Parameters

documentFilePath string

The Document file path.

Returns

IEnumerableSplineData.Point&gt;

The point list.

GetPoints(List, List)

Gets the points.

public override void GetPoints(List<double> lstX, List<double> lstY)

Parameters

lstX Listdouble&gt;

The LST X.

lstY Listdouble&gt;

The LST Y.

GetPoints(List, List, string)

Gets the points.

public override void GetPoints(List<double> lstX, List<double> lstY, string strDocumentFilePath)

Parameters

lstX Listdouble&gt;

The LST X.

lstY Listdouble&gt;

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 to the class.

public override XmlSchema GetSchema()

Returns

XmlSchema

An that describes the XML representation of the object that is produced by the method and consumed by the method.

ReadXml(XmlReader)

Generates an object from its XML representation.

public override void ReadXml(XmlReader reader)

Parameters

reader XmlReader

The stream from which the object is deserialized.

SetPoints(List, List)

Sets the points.

public void SetPoints(List<double> lstX, List<double> lstY)

Parameters

lstX Listdouble&gt;

The LST X.

lstY Listdouble&gt;

The LST Y.

WriteXml(XmlWriter)

Converts an object into its XML representation.

public override void WriteXml(XmlWriter writer)

Parameters

writer XmlWriter

The stream to which the object is serialized.

Connect with Ansys