Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Class SetCurveBase

Last update: 16.07.2025

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

This class is to represent the curve set.

[CanNotOpenWithNewPreprocessor]
public class SetCurveBase : SubEntity, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, INamed, INavigatorItem, IArgument, ICurvesetComponent, ITopologyset, IContactableRigid2D, IContactableRigid, IContactable, IGeometricalComponent, IEntityRelation, IBodyAnalysisType, IHasBody, ITemplateObject, IMultiChangable

Inheritance

object ← ObservableObject ← LinkableBase ← ObjectBase ← Object<ObjectEventCore> ← SubEntity ← SetCurveBase

Derived

SetCurveForEdges, SetCurveForImport

Implements

IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, INamed, INavigatorItem, IArgument, ICurvesetComponent, ITopologyset, IContactableRigid2D, IContactableRigid, IContactable, IGeometricalComponent, IEntityRelation, IBodyAnalysisType, IHasBody, ITemplateObject, IMultiChangable

Inherited Members

SubEntity.Initialize(Unit.ConvertFactor), SubEntity.GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool), SubEntity.FixUp(ObjectBase), SubEntity.WriteTemplateImpl(XmlWriter), SubEntity.ReadTemplateImpl(XmlReader), SubEntity.Name, SubEntity.FullName, SubEntity.NonSymmetricName, SubEntity.DisplayName, SubEntity.IsEnabled, SubEntity.Comment, Object<ObjectEventCore>.GetKey(), Object<ObjectEventCore>.Initialize(Unit.ConvertFactor), Object<ObjectEventCore>.SetIconColor(Canvas), Object<ObjectEventCore>.OnDeserialization(object), Object<ObjectEventCore>.CustomGetObjectData(SerializationInfo, StreamingContext), Object<ObjectEventCore>.RollbackEvent(), Object<ObjectEventCore>.OnDeserializedCore(object), Object<ObjectEventCore>.Key, Object<ObjectEventCore>.UntypedEventCore, Object<ObjectEventCore>.EventCore, Object<ObjectEventCore>.Attributes, ObjectBase.ReplaceEventCore(ObjectEventCore), ObjectBase.SetModifiedCore(ModifiedResult.ModifiedType), ObjectBase.AddPostDeserialize(StreamingContext), ObjectBase.LinkAddedToDocumentCore(IOwned, bool), ObjectBase.SetModified(ModifiedResult.ModifiedType), ObjectBase.SetModified(), ObjectBase.SetModified(ModifiedResult.ModifiedType, IDocument), ObjectBase.DestroyObject(object, LinkEventArgs), ObjectBase.DestroyObject(DestroyEventArgs), ObjectBase.DestroyObject(), ObjectBase.Initialize(Unit.ConvertFactor), ObjectBase.FixUp(ObjectBase), ObjectBase.DoWorkAfterUpdateContents(), ObjectBase.SetOldNameWithNewEntity(ObjectBase, ObjectBase), ObjectBase.SetIconColor(Canvas), ObjectBase.RemoveFromCreatedList(), ObjectBase.PostAddToDocument(), ObjectBase.PostRemoveFromDocument(Document), ObjectBase.GetArgumentList(LinkedList<ObjectBase>), ObjectBase.ResetInvalidEntity(), ObjectBase.OnDeserialization(object), ObjectBase.IsSerializableEvent(Delegate), ObjectBase.CustomGetObjectData(SerializationInfo, StreamingContext), ObjectBase.CheckAndUpdateLink(HashSet<ObjectBase>), ObjectBase.Verify(VerifiedResult), ObjectBase.ConnectProxy(), ObjectBase.RollbackEvent(), ObjectBase.LinkRequestUpdating(object, LinkEventArgs), ObjectBase.LinkRequestUpdate(object, LinkEventArgs), ObjectBase.LinkRequestDestroying(object, LinkEventArgs), ObjectBase.LinkRequestDestroy(object, LinkEventArgs), ObjectBase.LinkAddedToDocument(object, AddToDocEventArgs), ObjectBase.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), ObjectBase.DisposeManagedResources(), ObjectBase.GetDestroyEventExtraData(), ObjectBase.OnLinkReserved(ILink, object, EventArgs), ObjectBase.CreateEntityWhenUpdateContents(Action), ObjectBase.GetObjectByKey(UIntPtr), ObjectBase.FindObjectOnXmlDeserialize(string), ObjectBase.UpdateContents(XmlReader, ObjectBase, string), ObjectBase.UpdateContents(XmlReader, ObjectBase), ObjectBase.UpdateContents(string, string), ObjectBase.UpdateContents(string), ObjectBase.SetFlagWhenXMLFile(string, bool), ObjectBase.IsEqualArray<T>(T[], T[]), ObjectBase.IsEqualList(List<double>, List<double>), ObjectBase.SetContainer(IOwned, bool), ObjectBase.GetTargetListForUpdate(), ObjectBase.SkipUpdateObjectImpl(), ObjectBase.raise_OnUpdating(object, LinkEventArgs), ObjectBase.raise_OnUpdate(object, LinkEventArgs), ObjectBase.raise_OnDestroying(object, LinkEventArgs), ObjectBase.raise_OnDestroy(object, LinkEventArgs), ObjectBase.raise_Destroying(object, Identifier), ObjectBase.raise_OnAdded(object, AddToDocEventArgs), ObjectBase.raise_OnRemoved(object, RemoveFromDocEventArgs), ObjectBase.raise_OnContentsUpdated(object, EventArgs), ObjectBase.Dispose(bool), ObjectBase.SkipModified, ObjectBase.ClearChildInfoBeforeDeserialize, ObjectBase.KeyImpl, ObjectBase.ID, ObjectBase.TopologyEntityTypeName, ObjectBase.ObjectStateForCircularError, ObjectBase.ObjectState, ObjectBase.IsChildExternable, ObjectBase.IsExternable, ObjectBase.Container, ObjectBase.Owner, ObjectBase.Document, ObjectBase.UntypedEventCore, ObjectBase.KernelKey, ObjectBase.Key, ObjectBase.OnContentsUpdated, ObjectBase.OnRemoved, ObjectBase.OnAdded, ObjectBase.Destroying, ObjectBase.OnDestroy, ObjectBase.OnDestroying, ObjectBase.OnUpdate, ObjectBase.OnUpdating, LinkableBase.OnDeserialization(object), ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.Dispose(bool), ObservableObject.DisposeManagedResources(), ObservableObject.DisposeUnmanagedResources(), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChanged

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

SetCurveBase()

Initializes a new instance of the class.

public SetCurveBase()

SetCurveBase(string)

Initializes a new instance of the class.

public SetCurveBase(string strName)

Parameters

strName string

Name of the face set.

SetCurveBase(string, string)

Initializes a new instance of the class.

public SetCurveBase(string strName, string strProxyName)

Parameters

strName string

Name of the face set.

strProxyName string

Name of the proxy.

Properties

AnalysisType

Gets the analysis type.

public virtual BodyAnalysisType AnalysisType { get; }

Property Value

BodyAnalysisType

ArgumentType

Gets the type of the argument

public ArgumentTypes ArgumentType { get; }

Property Value

ArgumentTypes

AttribType

Gets the attribute type of curve set.

public AttributeCurvesetTypeBase.CurvesetType AttribType { get; }

Property Value

AttributeCurvesetTypeBase.CurvesetType

Body

Gets the body.

public IBody Body { get; }

Property Value

IBody

Connectable

Gets the connectable.

public IConnectable Connectable { get; }

Property Value

IConnectable

GeometryFullName

Gets the geometry full name

public string GeometryFullName { get; }

Property Value

string

GeometryNameForMultiContact

Gets the name for multiple contact

public string GeometryNameForMultiContact { get; }

Property Value

string

IsActionGeometry

Gets or sets a value indicating whether this instance is action geometry.

public bool IsActionGeometry { get; set; }

Property Value

bool

IsBaseGeometry

Gets or sets a value indicating whether this instance is base geometry.

public bool IsBaseGeometry { get; set; }

Property Value

bool

IsCloseLoop

The flag that indicate closed loop

public bool IsCloseLoop { get; }

Property Value

bool

ParentBody

Gets or sets the parent body.

public ObjectBase ParentBody { get; set; }

Property Value

ObjectBase

ReferenceType

Gets the type of the reference.

public string ReferenceType { get; }

Property Value

string

Methods

GetAkimaSpline(double[], double[], double[])

Get akima spline

public static List<VectorBase> GetAkimaSpline(double[] position_x, double[] position_y, double[] position_z)

Parameters

position_x double[]

The array of X position

position_y double[]

The array of Y position

position_z double[]

The array of Z position

Returns

List<VectorBase>

The list of points

GetAkimaSpline(VectorBase[], int)

Get akima spline

public static List<VectorBase> GetAkimaSpline(VectorBase[] lstVec, int nprintpoints)

Parameters

lstVec VectorBase[]

The array of points

nprintpoints int

The number of result points.

Returns

List<VectorBase>

The list of points

GetAkimaSpline(double[], double[], double[], int)

Get akima spline

public static List<VectorBase> GetAkimaSpline(double[] position_x, double[] position_y, double[] position_z, int nprintpoints)

Parameters

position_x double[]

The array of X position

position_y double[]

The array of Y position

position_z double[]

The array of Z position

nprintpoints int

The number of result points.

Returns

List<VectorBase>

The list of points

GetCADBody()

Gets the cad body from parent body.

public Body GetCADBody()

Returns

Body

GetDefaultMaxPenetration(ref double, IReferencable)

Gets the default maximum penetration.

public bool GetDefaultMaxPenetration(ref double dMaxPenetration, IReferencable reference)

Parameters

dMaxPenetration double

The maximum penetration.

reference IReferencable

The reference.

Returns

bool

true if success; otherwise, false.

GetGeometryNavigatorInformation(XmlDocument, XmlElement)

Gets the geometry information for model navigator .

public bool GetGeometryNavigatorInformation(XmlDocument xmlDom, XmlElement xmlEle)

Parameters

xmlDom XmlDocument

The XmlDocument information.

xmlEle XmlElement

The XmlElement information.

Returns

bool

true if success; otherwise, false.

GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool)

Gets the object information for model navigator [implementation].

protected override bool GetModelNavigatorInformationImpl(XmlDocument xmlDom, XmlElement xmlEle, bool bHasChild)

Parameters

xmlDom XmlDocument

The XmlDocument for object.

xmlEle XmlElement

The XmlElement for object.

bHasChild bool

if set to true [has child].

Returns

bool

true if success; otherwise, false.

GetPointDirection(ref VectorBase, ref VectorBase, IReferencable)

Gets the point direction. (using facet information)

public virtual bool GetPointDirection(ref VectorBase point, ref VectorBase direction, IReferencable reference)

Parameters

point VectorBase

The point.

direction VectorBase

The direction.

reference IReferencable

The reference.

Returns

bool

true if success; otherwise, false.

GetPoints()

Get points

public virtual VectorBase[] GetPoints()

Returns

VectorBase[]

The array of points

GetPointsAboutOrigin()

Get points about origin

public virtual VectorBase[] GetPointsAboutOrigin()

Returns

VectorBase[]

The array of points

GetProfilePoint(ref bool, ref List<VectorBase>)

Get profile points

public virtual int GetProfilePoint(ref bool bCloseLoop, ref List<VectorBase> lst)

Parameters

bCloseLoop bool

true if closed loop, otherwise false.

lst List<VectorBase>

The list of points

Returns

int

Initialize(ConvertFactor)

Initialize the class.

public override void Initialize(Unit.ConvertFactor factor)

Parameters

factor Unit.ConvertFactor

The convert factor

Connect with Ansys