Class GeneralJointSetting
Last update: 16.07.2025Namespace: VM.Models.Pre.Connections
Assembly: VM.Models.Pre.Connections.dll
This class is to represent the toolkit setting for general joint.
public class GeneralJointSetting : ToolkitMultiSelectionSettingBase<propertygeneral>, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable
Inheritance
object ←
ObservableObject ←
LinkableBase ←
LinkContainer ←
ToolKitSettingBase ←
ToolkitMultiSelectionSettingBase
Implements
IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable
Inherited Members
ToolkitMultiSelectionSettingBase
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
GeneralJointSetting()
Initializes a new instance of the
public GeneralJointSetting()
Methods
Add(ObjectBase, ConnectorType)
Adds the connector object.
public override void Add(ObjectBase ob, PropertyGeneral.ConnectorType type)
Parameters
ob ObjectBase
The connector object to add.
type PropertyGeneral.ConnectorType
The ConnectorType of the Body object.
CheckData()
Check data
public bool CheckData()
Returns
Clear()
Clear
public override void Clear()
Contains(ObjectBase)
Determines whether [contains] the connector object.
public override bool Contains(ObjectBase ob)
Parameters
ob ObjectBase
The connector object to find.
Returns
Whether it contains the connector object.
ContainsKey(UIntPtr)
public bool ContainsKey(UIntPtr keyObject)
Parameters
keyObject UIntPtr
Returns
GetSelection(ObjectBase)
Gets the ConnectorType of the connector object.
public override PropertyGeneral.ConnectorType GetSelection(ObjectBase ob)
Parameters
ob ObjectBase
The connector object to get ConnectorType.
Returns
The ConnectorType of the connector object.
Remove(ObjectBase)
Removes the connector object.
public override bool Remove(ObjectBase ob)
Parameters
ob ObjectBase
The connector object to remove.
Returns
Whether it is success to remove the connector object.
SetSelection(ObjectBase, ConnectorType)
Sets the ConnectorType of the connector object.
public override bool SetSelection(ObjectBase ob, PropertyGeneral.ConnectorType type)
Parameters
ob ObjectBase
The connector object to set ConnectorType.
type PropertyGeneral.ConnectorType
The ConnectorType of the connector object.
Returns
Whether it is success to set the ConnectorType.