Skip to main content

Motion Standalone Preprocessor C# library 2025 R2

Class ReferenceSetFace

Last update: 16.07.2025

Namespace: VM.Managed.DAFUL
Assembly: VMDFBase.dll

This class is to represent the reference for face set.

public class ReferenceSetFace : Reference, IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IReferencable, INamed, INavigatorItem, IVisible, IReferenceAutoContactable, IAutoContactable, IBody, IContactableRigid3D, IContactableRigid, IContactable3D, IContactable, IBodyAnalysisType, IReferedTopologyset, ITopologyset, IChainedSegmentConnector, IChainedSegmentContact, IArgument, IConnectable, IEntityRelation, IHasBody, IMarkerParent, IFaceSetInformation, IFaceInformation, ITemperatureComponent, IConvectionComponent, IHeatFlowComponent, IHeatFluxComponent, IGeometricalComponent, IGapTarget

Inheritance

object ← ObservableObject ← LinkableBase ← ObjectBase ← Object ← Reference ← ReferenceSetFace

Derived

ReferencePartSetFace

Implements

IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IReferencable, INamed, INavigatorItem, IVisible, IReferenceAutoContactable, IAutoContactable, IBody, IContactableRigid3D, IContactableRigid, IContactable3D, IContactable, IBodyAnalysisType, IReferedTopologyset, ITopologyset, IChainedSegmentConnector, IChainedSegmentContact, IArgument, IConnectable, IEntityRelation, IHasBody, IMarkerParent, IFaceSetInformation, IFaceInformation, ITemperatureComponent, IConvectionComponent, IHeatFlowComponent, IHeatFluxComponent, IGeometricalComponent, IGapTarget

Inherited Members

Reference.LinkAddedToDocument(object, AddToDocEventArgs), Reference.SetModified(ModifiedResult.ModifiedType), Reference.SetModified(), Reference.GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool), Reference.GetContactables(), Reference.IsAutoContactable(), Reference.IsOwner(Reference), Reference.LinkRequestUpdate(object, LinkEventArgs), Reference.LinkRequestDestroy(object, LinkEventArgs), Reference.GetTransform(Unit), Reference.GetFullTransform(Unit), Reference.GetTotalSubSystemName(Document3D, ObjectBase), Reference.GetTotalSubSystemNameCore(Document3D, Document3D, ref Stack, ref ValueType), Reference.IsVisible, Reference.Layer, Reference.FullTransformationInKernel, Reference.FullTransformation, Reference.Transformation, Reference.Prototype, Reference.Object, Reference.OwnerInstance, Reference.ClearChildInfoBeforeDeserialize, Reference.NonSymmetricName, Reference.FullName, Reference.Name, Object.GetKey(), Object.Initialize(Unit.ConvertFactor), Object.SetIconColor(Canvas), Object.OnDeserialization(object), Object.CustomGetObjectData(SerializationInfo, StreamingContext), Object.RollbackEvent(), Object.OnDeserializedCore(object), Object.Key, Object.UntypedEventCore, Object.EventCore, Object.Attributes, ObjectBase.ReplaceEventCore(ObjectEventCore), ObjectBase.SetModifiedCore(ModifiedResult.ModifiedType), ObjectBase.AddPostDeserialize(StreamingContext), ObjectBase.LinkAddedToDocumentCore(IOwned, bool), ObjectBase.SetModified(ModifiedResult.ModifiedType), ObjectBase.SetModified(), ObjectBase.SetModified(ModifiedResult.ModifiedType, IDocument), ObjectBase.DestroyObject(object, LinkEventArgs), ObjectBase.DestroyObject(DestroyEventArgs), ObjectBase.DestroyObject(), ObjectBase.Initialize(Unit.ConvertFactor), ObjectBase.FixUp(ObjectBase), ObjectBase.DoWorkAfterUpdateContents(), ObjectBase.SetOldNameWithNewEntity(ObjectBase, ObjectBase), ObjectBase.SetIconColor(Canvas), ObjectBase.RemoveFromCreatedList(), ObjectBase.PostAddToDocument(), ObjectBase.PostRemoveFromDocument(Document), ObjectBase.GetArgumentList(LinkedList), ObjectBase.ResetInvalidEntity(), ObjectBase.OnDeserialization(object), ObjectBase.IsSerializableEvent(Delegate), ObjectBase.CustomGetObjectData(SerializationInfo, StreamingContext), ObjectBase.CheckAndUpdateLink(HashSet), ObjectBase.Verify(VerifiedResult), ObjectBase.ConnectProxy(), ObjectBase.RollbackEvent(), ObjectBase.LinkRequestUpdating(object, LinkEventArgs), ObjectBase.LinkRequestUpdate(object, LinkEventArgs), ObjectBase.LinkRequestDestroying(object, LinkEventArgs), ObjectBase.LinkRequestDestroy(object, LinkEventArgs), ObjectBase.LinkAddedToDocument(object, AddToDocEventArgs), ObjectBase.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), ObjectBase.DisposeManagedResources(), ObjectBase.GetDestroyEventExtraData(), ObjectBase.OnLinkReserved(ILink, object, EventArgs), ObjectBase.CreateEntityWhenUpdateContents(Action), ObjectBase.GetObjectByKey(UIntPtr), ObjectBase.FindObjectOnXmlDeserialize(string), ObjectBase.UpdateContents(XmlReader, ObjectBase, string), ObjectBase.UpdateContents(XmlReader, ObjectBase), ObjectBase.UpdateContents(string, string), ObjectBase.UpdateContents(string), ObjectBase.SetFlagWhenXMLFile(string, bool), ObjectBase.IsEqualArray(T[], T[]), ObjectBase.IsEqualList(List, List), ObjectBase.SetContainer(IOwned, bool), ObjectBase.GetTargetListForUpdate(), ObjectBase.SkipUpdateObjectImpl(), ObjectBase.raise_OnUpdating(object, LinkEventArgs), ObjectBase.raise_OnUpdate(object, LinkEventArgs), ObjectBase.raise_OnDestroying(object, LinkEventArgs), ObjectBase.raise_OnDestroy(object, LinkEventArgs), ObjectBase.raise_Destroying(object, Identifier), ObjectBase.raise_OnAdded(object, AddToDocEventArgs), ObjectBase.raise_OnRemoved(object, RemoveFromDocEventArgs), ObjectBase.raise_OnContentsUpdated(object, EventArgs), ObjectBase.Dispose(bool), ObjectBase.SkipModified, ObjectBase.ClearChildInfoBeforeDeserialize, ObjectBase.KeyImpl, ObjectBase.ID, ObjectBase.TopologyEntityTypeName, ObjectBase.ObjectStateForCircularError, ObjectBase.ObjectState, ObjectBase.IsChildExternable, ObjectBase.IsExternable, ObjectBase.Container, ObjectBase.Owner, ObjectBase.Document, ObjectBase.UntypedEventCore, ObjectBase.KernelKey, ObjectBase.Key, ObjectBase.OnContentsUpdated, ObjectBase.OnRemoved, ObjectBase.OnAdded, ObjectBase.Destroying, ObjectBase.OnDestroy, ObjectBase.OnDestroying, ObjectBase.OnUpdate, ObjectBase.OnUpdating, LinkableBase.OnDeserialization(object), ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.Dispose(bool), ObservableObject.DisposeManagedResources(), ObservableObject.DisposeUnmanagedResources(), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChanged

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)

Constructors

ReferenceSetFace(SerializationInfo, StreamingContext)

Initializes a new instance of the class.

protected ReferenceSetFace(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The info.

context StreamingContext

The context.

ReferenceSetFace(ObjectBase)

Initializes a new instance of the class.

public ReferenceSetFace(ObjectBase obj)

Parameters

obj ObjectBase

The reference's object.

Properties

AnalysisType

Gets the analysis type.

public BodyAnalysisType AnalysisType { get; }

Property Value

BodyAnalysisType

ArgumentType

Gets the type of the argument

public ArgumentTypes ArgumentType { get; }

Property Value

ArgumentTypes

Body

Gets the body.

public virtual IBody Body { get; }

Property Value

IBody

Center

Gets the center position of the object.

public TMatrix Center { get; }

Property Value

TMatrix

Connectable

Gets the connectable.

public IConnectable Connectable { get; }

Property Value

IConnectable

ConnectableBody

Gets the connectable body.

public ObjectBase ConnectableBody { get; }

Property Value

ObjectBase

ConnectableFullName

Gets the full name of the connectable.

public string ConnectableFullName { get; }

Property Value

string

ConnectableName

Gets the name of the connectable.

public string ConnectableName { get; }

Property Value

string

ConnectablePosition

Sets the connectable position.

public Vector ConnectablePosition { set; }

Property Value

Vector

ConnectablePostfixName

Sets the postfix name of the connectable.

public string ConnectablePostfixName { set; }

Property Value

string

GeometryFullName

Gets the geometry full name

public string GeometryFullName { get; }

Property Value

string

GeometryNameForMultiContact

Gets the name for multiple contact

public string GeometryNameForMultiContact { get; }

Property Value

string

HalfThickness

Gets or sets the half thickness.

public ExpressionValueVariable HalfThickness { get; set; }

Property Value

ExpressionValueVariable

IsActionGeometry

Gets or sets a value indicating whether this instance is action geometry.

public bool IsActionGeometry { get; set; }

Property Value

bool

IsBaseGeometry

Gets or sets a value indicating whether this instance is base geometry.

public bool IsBaseGeometry { get; set; }

Property Value

bool

IsRepresentedAsBSurface

Gets or sets a value indicating whether this instance is represented as B-surface.

public bool IsRepresentedAsBSurface { get; set; }

Property Value

bool

MaxPenetration

Gets the maximum penetration.

public ExpressionValueVariable MaxPenetration { get; }

Property Value

ExpressionValueVariable

ParentType

Gets the type of the marker's parent.

public MarkerParentType ParentType { get; }

Property Value

MarkerParentType

ReferenceFrameType

Gets the type of the marker's reference frame.

public MarkerReferenceFrameType ReferenceFrameType { get; }

Property Value

MarkerReferenceFrameType

ReferenceType

Gets the type of the reference.

public string ReferenceType { get; }

Property Value

string

SurfaceSmoothingType

Gets or sets the type of the surface smoothing.

public SurfaceSmoothing SurfaceSmoothingType { get; set; }

Property Value

SurfaceSmoothing

Methods

GetAnalysisType()

Gets the analysis type.

protected virtual BodyAnalysisType GetAnalysisType()

Returns

BodyAnalysisType

The analysis type.

GetConnectableImpl()

Gets the connectable [implementation].

protected virtual IConnectable GetConnectableImpl()

Returns

IConnectable

GetDefaultMaxPenetration(ref double, IReferencable)

Gets the default maximum penetration.

public bool GetDefaultMaxPenetration(ref double dMaxPenetration, IReferencable reference)

Parameters

dMaxPenetration double

The maximum penetration.

reference IReferencable

The reference.

Returns

bool

true if success; otherwise, false.

GetGeometryNavigatorInformation(XmlDocument, XmlElement)

Gets the geometry information for model navigator .

public bool GetGeometryNavigatorInformation(XmlDocument xmlDom, XmlElement xmlEle)

Parameters

xmlDom XmlDocument

The XmlDocument information.

xmlEle XmlElement

The XmlElement information.

Returns

bool

true if success; otherwise, false.

GetMinimumDistance(IFaceInformation, TMatrix, TMatrix, double)

Get minimum distance

public virtual double GetMinimumDistance(IFaceInformation compare_info, TMatrix mat, TMatrix compare_mat, double dLengthFactor)

Parameters

compare_info IFaceInformation

The compare information

mat TMatrix

The transformation matrix

compare_mat TMatrix

The transformation matrix to compare

dLengthFactor double

The length factor.

Returns

double

The minimum distance

GetMinimumDistanceAndDirection(IFaceInformation, TMatrix, TMatrix, ref VectorBase[], double)

Get minimum distance and direction

public virtual double GetMinimumDistanceAndDirection(IFaceInformation compare_info, TMatrix mat, TMatrix compare_mat, ref VectorBase[] arDirection, double dLengthFactor)

Parameters

compare_info IFaceInformation

The compare information

mat TMatrix

The transformation matrix

compare_mat TMatrix

The transformation matrix to compare

arDirection VectorBase[]

Directions

dLengthFactor double

The length factor.

Returns

double

The minimum distance

GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool)

Gets the object information for model navigator [implementation].

protected override bool GetModelNavigatorInformationImpl(XmlDocument xmlDom, XmlElement xmlRootEle, bool bHasChild)

Parameters

xmlDom XmlDocument

The XmlDocument for object.

xmlRootEle XmlElement

The XmlElement for object.

bHasChild bool

if set to true [has child].

Returns

bool

true if success; otherwise, false.

GetParentBody()

Gets the parent body.

public ReferenceBody GetParentBody()

Returns

ReferenceBody

GetPointAndConnectivity(FacetOption, ref VectorBase[], ref int[], ref int[], Reference, double)

Get point and connectivity

public virtual void GetPointAndConnectivity(FacetOption facetOptions, ref VectorBase[] arPt, ref int[] arConnectivity, ref int[] arNumOfConnectivity, Reference reference, double dLengthFactor)

Parameters

facetOptions FacetOption

The facet options.

arPt VectorBase[]

The array of points

arConnectivity int[]

The array of connectivities

arNumOfConnectivity int[]

The number of connectivities

reference Reference

The reference

dLengthFactor double

The length factor.

GetPointDirection(ref VectorBase, ref VectorBase, IReferencable)

Gets the point direction. (using facet information)

public bool GetPointDirection(ref VectorBase point, ref VectorBase direction, IReferencable reference)

Parameters

point VectorBase

The point.

direction VectorBase

The direction.

reference IReferencable

The reference.

Returns

bool

true if success; otherwise, false.

GetPointDirectionOnGeometry(ref VectorBase, ref VectorBase, IReferencable)

Gets the point direction. (using geometry information)

public bool GetPointDirectionOnGeometry(ref VectorBase point, ref VectorBase direction, IReferencable reference)

Parameters

point VectorBase

The point.

direction VectorBase

The direction.

reference IReferencable

The reference.

Returns

bool

true if success; otherwise, false.

IsOwner(Reference)

Determines whether the specified owner.

public override bool IsOwner(Reference owner)

Parameters

owner Reference

Returns

bool

true if the specified owner; otherwise, false.

Connect with Ansys