Class DesignDimensionBase
Last update: 16.07.2025Namespace: VM.Managed.DAFUL.GearTrain
Assembly: VMDGearTrain.dll
This base class is to represent the design dimension.
public abstract class DesignDimensionBase : DesignSubEntity, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, INamed, INavigatorItem, IDesignSubEntity, ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, IInterface, ITemplateObject, IEntityRelation, IDraw, IDrawIcon
Inheritance
object ←
ObservableObject ←
LinkableBase ←
ObjectBase ←
Object
Derived
DesignDimensionMulti, DesignDimensionSingle
Implements
IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, INamed, INavigatorItem, IDesignSubEntity, ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, IInterface, ITemplateObject, IEntityRelation, IDraw, IDrawIcon
Inherited Members
DesignSubEntity.m_bSkipToUpdateSymmetric,
DesignSubEntity.g_dicUpdatedDesignSubEntity,
DesignSubEntity.FixUp(ObjectBase),
DesignSubEntity.CheckCircularReference(),
DesignSubEntity.BindInterfaceImpl(TMatrix, TMatrix, IInterface),
DesignSubEntity.IsInterface,
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
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
DesignDimensionBase()
Initializes a new instance of the
public DesignDimensionBase()
DesignDimensionBase(string)
Initializes a new instance of the
public DesignDimensionBase(string strName)
Parameters
strName string
Name of the design subentity.
Properties
Color
Gets or sets the color.
public Color Color { get; set; }
Property Value
EndPoint
Gets or sets the end point.
public Vector EndPoint { get; set; }
Property Value
Vector
Gap
Gets or sets the gap.
public double Gap { get; set; }
Property Value
Hide
Gets or sets a value indicating whether this instance is hide.
public bool Hide { get; set; }
Property Value
IsExternable
Gets a value indicating whether this instance is externable.
public override bool IsExternable { get; }
Property Value
StartPoint
Gets or sets the start point.
public Vector StartPoint { get; set; }
Property Value
Vector
Methods
Draw(Canvas)
Draws the icon.
public virtual void Draw(Canvas canvas)
Parameters
canvas Canvas
The canvas has icon information.
FindTargetObject(Section)
Finds the target object.
public virtual bool FindTargetObject(Section secBody)
Parameters
secBody Section
The sec body.
Returns
ReDraw()
Redraw
public void ReDraw()