Skip to main content
Namespace: VM.Models.Pre.Force
Assembly: VM.Models.Pre.Force.dll
This class is to represent the Leaf Spring.

Inheritance

object ← ObservableObject ← LinkableBase ← ObjectBase ← Object<EntityEventCore> ← ContainerObject<EntityEventCore> ← EntityBase ← Entity<PropertyLeafSpring> ← LeafSpring

Implements

IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, IEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, IVisible, IDocumentOwner, INamed, INavigatorItem, IVisible, IMultiChangable, IHasProperty, IGroup, IDraw, IDrawIcon

Inherited Members

Entity<PropertyLeafSpring>.Initialize(Unit.ConvertFactor), Entity<PropertyLeafSpring>.GetUnnamedObjectName(object), Entity<PropertyLeafSpring>.FindLocal(string), Entity<PropertyLeafSpring>.Property, EntityBase.Initialize(Unit.ConvertFactor), EntityBase.SetOldNameWithNewEntity(ObjectBase, ObjectBase), EntityBase.PropertyRequestUpdate(object, LinkEventArgs), EntityBase.OnDeserializationForAttribute(), EntityBase.OnUpdatePropertyImpl(Property, LinkEventArgs), EntityBase.LinkRequestDestroying(object, LinkEventArgs), EntityBase.GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool), EntityBase.FixUp(ObjectBase), EntityBase.FindLocal(string), EntityBase.WriteTemplateImpl(XmlWriter), EntityBase.ReadTemplateImpl(XmlReader), EntityBase.LinkAddedToDocument(object, AddToDocEventArgs), EntityBase.OnDeserialization(object), EntityBase.Name, EntityBase.FullName, EntityBase.NonSymmetricName, EntityBase.DisplayName, EntityBase.IsEnabled, EntityBase.Comment, EntityBase.HasLayerExplicitly, EntityBase.UntypedProperty, EntityBase.IsFileProperty, EntityBase.Layer, EntityBase.IsVisible, ContainerObject<EntityEventCore>.Find(string), ContainerObject<EntityEventCore>.FindLocal(string), ContainerObject<EntityEventCore>.GetUnnamedObjectName(object), ContainerObject<EntityEventCore>.GetNewEntityName(string), ContainerObject<EntityEventCore>.GetNewEntityName(string, bool, int), ContainerObject<EntityEventCore>.GetNewEntityName(string, bool, int, int), Object<EntityEventCore>.GetKey(), Object<EntityEventCore>.Initialize(Unit.ConvertFactor), Object<EntityEventCore>.SetIconColor(Canvas), Object<EntityEventCore>.OnDeserialization(object), Object<EntityEventCore>.CustomGetObjectData(SerializationInfo, StreamingContext), Object<EntityEventCore>.RollbackEvent(), Object<EntityEventCore>.OnDeserializedCore(object), Object<EntityEventCore>.Key, Object<EntityEventCore>.UntypedEventCore, Object<EntityEventCore>.EventCore, Object<EntityEventCore>.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

LeafSpring()

Initializes a new instance of the LeafSpring class.

LeafSpring(string)

Initializes a new instance of the LeafSpring class.

Parameters

name string Name of the LeafSpring.

Fields

ActionMarkerName

Gets the action marker name.

Field Value

string

AxleToCenterBoltName

Gets the axle to center bolt constraint name.

Field Value

string

BaseMarkerName

Gets the base marker name.

Field Value

string

CenterBoltName

Gets the center bolt name.

Field Value

string

ClipNamePrefix

Gets the clip name prefix.

Field Value

string

FrontEyeName

Gets the front eye name.

Field Value

string

FrontEyeToBeamFixedName

Gets the front eye to beam fixed name.

Field Value

string

GroundToEyeName

Gets the ground to eye constraint name.

Field Value

string

GroundToShackleName

Gets the ground to shackle constraint name.

Field Value

string

LeafNamePrefix

Gets the leaf name prefix.

Field Value

string

LeafToClipFunctionName

Gets the leaf to clip function name.

Field Value

string

LeafToLeafFunctionName

Gets the leaf to leaf function name.

Field Value

string

RearEyeName

Gets the rear eye name.

Field Value

string

RearEyeToBeamFixedName

Gets the rear eye to beam fixed name.

Field Value

string

ShackleName

Gets the front shackle name.

Field Value

string

ShackleToEyeName

Gets the shackle to eye constraint name.

Field Value

string

Properties

Assembly

Gets or sets the assembly.

Property Value

Assembly

Axle

Gets or sets the axle.

Property Value

IConnectable

EyePosition

Gets or sets the eye position.

Property Value

PointBase

FrontFrame

Gets or sets the front frame.

Property Value

IConnectable

HasLayerExplicitly

Gets a value indicating whether object has a layer explicitly.

Property Value

bool

Hide

Gets or sets the hide.

Property Value

bool

LinkAxle

Gets or sets the axle.

Property Value

Linker<IConnectable>

LinkFrontFrame

Gets or sets the front frame.

Property Value

Linker<IConnectable>

LinkRearFrame

Gets or sets the rear frame.

Property Value

Linker<IConnectable>

RearFrame

Gets or sets the rear frame.

Property Value

IConnectable

ReferenceFrame

Gets or sets the reference frame.

Property Value

TransformBase

ShacklePosition

Gets or sets the shackle position.

Property Value

PointBase

Methods

Draw(Canvas)

draw

Parameters

canvas Canvas The canvas.

FixUp(ObjectBase)

Before destroy the old object, perform a work.

Parameters

ob ObjectBase The old object.

Returns

bool true if success; otherwise, false.

GetCenterBoltToLeafName(int, int)

Gets the center bolt to leaf constraint name.

Parameters

leafIndex int The leaf index. index int The constraint index.

Returns

string The center bolt to leaf constraint name.

GetClipName(int)

Gets the clip name.

Parameters

index int The clip index.

Returns

string The clip name.

GetClipToLeafBushName(int, int)

Gets the clip to leaf bush name.

Parameters

clipIndex int The clip index. leafIndex int The leaf index.

Returns

string The clip to leaf bush name.

GetClipToLeafFixedName(int)

Gets the clip to leaf fixed name.

Parameters

index int The clip index.

Returns

string The clip to leaf fixed name.

GetClipToLeafVectorForceName(int, int)

Gets the clip to leaf vector force name.

Parameters

clipIndex int The clip index. leafIndex int The leaf index.

Returns

string The clip to leaf vector force name.

GetClipUpperMarkerName(int)

Gets the clip upper marker name.

Parameters

index int The clip index.

Returns

string The clip upper marker name.

GetLeafName(int)

Gets the leaf name.

Parameters

index int The leaf index.

Returns

string The leaf name.

GetLeafToLeafBushName(int, int, int, int)

Gets the leaf to leaf bush name.

Parameters

baseLeafIndex int The base leaf index. baseBodyIndex int The base body index. actionLeafIndex int The action leaf index. actionBodyIndex int The action body index.

Returns

string The leaf to leaf bush name.

GetLeafToLeafVectorForceName(int, int, int, int)

Gets the leaf to leaf vector force name.

Parameters

baseLeafIndex int The base leaf index. baseBodyIndex int The base body index. actionLeafIndex int The action leaf index. actionBodyIndex int The action body index.

Returns

string The leaf to leaf vector force name.

GetRepositionMatrix()

Gets the reposition matrix.

Returns

TMatrix? The reposition matrix.

PostAddToDocument()

RaisePropertyChanged(string)

Parameters

propertyName string

ReDraw()

Redraw

ReDrawForHistory()

Redraw for undo/redo