Class GeneralContact
Last update: 16.07.2025Namespace: VM.Managed.DAFUL.Contact
Assembly: VMDCt.dll
This class is to represent the General contact.
public class GeneralContact : Contact<propertygeneralcontact>, 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, IEnableForSimulationScenario, IDraw, IDrawIcon, ITemplateObject, IArgument, IReportable, IContact, IEntityRelation, IThermalContactable, IGapSupport, IReferencable, IPostOpenDocumentForContact, IGeneralContact, IFlip
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, IEnableForSimulationScenario, IDraw, IDrawIcon, ITemplateObject, IArgument, IReportable, IContact, IEntityRelation, IThermalContactable, IGapSupport, IReferencable, IPostOpenDocumentForContact, IGeneralContact, IFlip
Inherited Members
Contact
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
GeneralContact()
Initializes a new instance of the
public GeneralContact()
GeneralContact(string)
Initializes a new instance of the
public GeneralContact(string strName)
Parameters
strName string
Name of the STR.
Properties
ActionGeom
Gets or sets the action flex 3D contact geometry.
public ContactGeom3D ActionGeom { get; set; }
Property Value
ArgumentType
Gets the type of the argument
public override ArgumentTypes ArgumentType { get; }
Property Value
ArgumentTypes
BaseGeom
Gets or sets the base rigid 3D contact geometry.
public ContactGeom3D BaseGeom { get; set; }
Property Value
CanSwitchImpl
protected virtual bool CanSwitchImpl { get; }
Property Value
ReferenceType
Gets the type of the array for argument.
public override string ReferenceType { get; }
Property Value
ReportTypeImpl
Gets the report type.
protected override IReportable.ReportEntityType ReportTypeImpl { get; }
Property Value
IReportable.ReportEntityType
Methods
Draw(Canvas)
Draws the icon.
public override void Draw(Canvas canvas)
Parameters
canvas Canvas
The canvas has icon information.
FindLocal(string)
Finds an object that matches a specified name in local.
public override IObjectBase FindLocal(string strName)
Parameters
strName string
Name to search for.
Returns
IObjectBase
An object that matches a specified name.
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.
Initialize(ConvertFactor)
Initializes member through unit convert factor.
public override void Initialize(Unit.ConvertFactor factor)
Parameters
factor Unit.ConvertFactor
The unit convert factor.
InitializeEvent(Document3D)
Initializes event. It has been used to convert an RTR3D Contact to General Contact object.
public static void InitializeEvent(Document3D doc)
Parameters
doc Document3D
ReadTemplateImpl(XmlReader)
Reads the template document [implementation].
protected override void ReadTemplateImpl(XmlReader reader)
Parameters
reader XmlReader
The reader.
UpdateIcon()
Updates the icon [Not Implemented].
protected override void UpdateIcon()
WriteTemplateImpl(XmlWriter)
Writes the template document [implementation].
protected override void WriteTemplateImpl(XmlWriter writer)
Parameters
writer XmlWriter
The writer.