Class ContactGeom2D
Last update: 16.07.2025Namespace: VM.Managed.DAFUL.Contact
Assembly: VMDCt.dll
This class is to represent the 2D contact geometry.
public class ContactGeom2D : ContactGeomBase<propertycontactgeom2d>, 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, IContactGeometry2D, IContactGeometry
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, IContactGeometry2D, IContactGeometry
Inherited Members
ContactGeomBase
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
ContactGeom2D()
Initializes a new instance of the
protected ContactGeom2D()
ContactGeom2D(string)
Initializes a new instance of the
public ContactGeom2D(string strName)
Parameters
strName string
Name of the 2D contact geometry .
Properties
Geometry
Gets or sets the geometry.
public IContactable Geometry { get; set; }
Property Value
IContactable
GeometryFullName
Gets the full name of the geometry.
public override string GeometryFullName { get; }
Property Value
MaxPenetration
Gets or sets the maximum penetration.
public ExpressionValueVariable MaxPenetration { get; set; }
Property Value
ExpressionValueVariable
ParentBody
Gets or sets the geometry.
public ObjectBase ParentBody { get; }
Property Value
ObjectBase
_Geometry
Gets or sets the geometry.
public Linker<icontactable> _Geometry { get; set; }
Property Value
Linker
Methods
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.
GetPointDirection(ref VectorBase, ref VectorBase)
Gets the point direction.
public bool GetPointDirection(ref VectorBase point, ref VectorBase direction)
Parameters
point VectorBase
The point.
direction VectorBase
The direction.
Returns
true if success; otherwise, false.
GetPointDirectionOnGeometry(ref VectorBase, ref VectorBase)
Gets the point direction.
public bool GetPointDirectionOnGeometry(ref VectorBase point, ref VectorBase direction)
Parameters
point VectorBase
The normal origin point.
direction VectorBase
The normal direction.
Returns
true if success; otherwise, false.
LinkRequestDestroying(object, LinkEventArgs)
Request for destroying the linked object.
protected override void LinkRequestDestroying(object objNotifier, LinkEventArgs arg)
Parameters
objNotifier object
The linked object.
arg LinkEventArgs
The
LinkRequestUpdate(object, LinkEventArgs)
Request for update the linked object.
protected override void LinkRequestUpdate(object objNotifier, LinkEventArgs arg)
Parameters
objNotifier object
The linked object.
arg LinkEventArgs
The