Class EHDBearing
Last update: 16.07.2025Namespace: VM.Managed.DAFUL.Bearing
Assembly: VMDEHDBearing.dll
This class is to represent the Elasto-hydrodynamic bearing.
public class EHDBearing : Entity<propertyehdbearing>, 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, IReferencable, ITransformable, IReportable
Inheritance
object ←
ObservableObject ←
LinkableBase ←
ObjectBase ←
Object
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, IReferencable, ITransformable, IReportable
Inherited Members
Entity
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
EHDBearing()
Initializes a new instance of the
public EHDBearing()
EHDBearing(string)
Initializes a new instance of the
public EHDBearing(string strName)
Parameters
strName string
Name of the STR.
Properties
ActionGeometry
Gets or sets the action geometry.
public ObjectBase ActionGeometry { get; set; }
Property Value
ObjectBase
BaseGeometry
Gets or sets the base geometry.
public ObjectBase BaseGeometry { get; set; }
Property Value
ObjectBase
HasLayerExplicitly
Gets a value indicating whether object has a layer explicitly.
protected override bool HasLayerExplicitly { get; }
Property Value
Hide
Gets or sets a value indicating whether this instance is hide.
public bool Hide { get; set; }
Property Value
Methods
Draw(Canvas)
Draws the icon.
public virtual void Draw(Canvas canvas)
Parameters
canvas Canvas
The canvas has icon information.
GetCylinderMesh(ref int[], ref Vector[], ref Vector[])
Get cylinder mesh information
public void GetCylinderMesh(ref int[] arnConnectivity, ref Vector[] ardBaseNodePos, ref Vector[] ardActionNodePos)
Parameters
arnConnectivity int[]
The connectivity as result
ardBaseNodePos Vector[]
The base node positions as result
ardActionNodePos Vector[]
The action node positions as result
GetCylinderMeshForPreview(int, int, Vector, OMatrix, Vector, OMatrix, double, double, double, ref Vector[], ref Vector[])
Get cylinder mesh information
public static void GetCylinderMeshForPreview(int nCircumferential, int nAxial, Vector vecBasePos, OMatrix matBase, Vector vecActionPos, OMatrix matAction, double dBaseRadius, double dActionRadius, double dWidth, ref Vector[] ardBaseNodePos, ref Vector[] ardActionNodePos)
Parameters
nCircumferential int
The mesh number through circumferential
nAxial int
The mesh number through axial
vecBasePos Vector
The base position
matBase OMatrix
The base orientation
vecActionPos Vector
The action position
matAction OMatrix
The action orientation
dBaseRadius double
The base radius
dActionRadius double
The action radius
dWidth double
The width
ardBaseNodePos Vector[]
The base node positions as result
ardActionNodePos Vector[]
The action node positions as result
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
true if success; otherwise, false.
ReDraw()
Redraw.
public virtual void ReDraw()