Class OrientationTwoDirections
Last update: 16.07.2025Namespace: VM.Managed
Assembly: VMAppCore.dll
This class is to represent the information of orientation of z and x directions.
public class OrientationTwoDirections : OrientationBase, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IExpression, IOrientationBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider
Inheritance
object ← ObservableObject ← LinkableBase ← LinkContainer ← Expression ← OrientationBase ← OrientationTwoDirections
Implements
IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IExpression, IOrientationBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider
Inherited Members
OrientationBase.IsParametric(), OrientationBase.IsParametric(string), OrientationBase.ReadXml(XmlReader), OrientationBase.WriteXml(XmlWriter), OrientationBase.GetSchema(), OrientationBase.WriteRotationAnglesToXml(XmlWriter), OrientationBase.UseExpression, OrientationBase.RotationAngles, OrientationBase.RotationAxis, OrientationBase.AngleType, OrientationBase.RotationType, OrientationBase.IsParameterized, OrientationBase.ValueImpl, OrientationBase.Value, Expression.g_bSkipUpdate, Expression.m_pExpressionHandler, Expression.m_strValue, Expression.m_dicReferenceObject, Expression.m_lstReferenceObject, Expression.m_linkCollectionReferenceObject, Expression.Initialize(), Expression.UpdateByReferenceObject(object, LinkEventArgs), Expression.AddReferenceObject(UIntPtr), Expression.CheckReferenceObject(), Expression.SetDefaultString(ref string), Expression.ConvertToValue(string), Expression.ParseToValue(char*), Expression.GetNumericValue(), Expression.OnDeserialization(object), Expression.Uninitialize(), Expression.String, LinkContainer.SetModified(), LinkContainer.raise_OnUpdating(object, LinkEventArgs), LinkContainer.raise_OnUpdate(object, LinkEventArgs), LinkContainer.raise_OnDestroying(object, LinkEventArgs), LinkContainer.raise_OnDestroy(object, LinkEventArgs), LinkContainer.raise_OnAdded(object, AddToDocEventArgs), LinkContainer.raise_OnRemoved(object, RemoveFromDocEventArgs), LinkContainer.GetTargetListForUpdate(), LinkContainer.SkipUpdateObjectImpl(), LinkContainer.Initialize(Unit.ConvertFactor), LinkContainer.SetFlagWhenXMLFile(string, bool), LinkContainer.IsSerializableEvent(Delegate), LinkContainer.CustomGetObjectData(SerializationInfo, StreamingContext), LinkContainer.GetSerializedData(SerializationInfo, StreamingContext), LinkContainer.LinkRequestUpdating(object, LinkEventArgs), LinkContainer.LinkRequestUpdate(object, LinkEventArgs), LinkContainer.LinkRequestDestroying(object, LinkEventArgs), LinkContainer.LinkRequestDestroy(object, LinkEventArgs), LinkContainer.LinkAddedToDocument(object, AddToDocEventArgs), LinkContainer.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), LinkContainer.OnLinkReserved(ILink, object, EventArgs), LinkContainer.CanBeDestroy(object), LinkContainer.DisposeManagedResources(), LinkContainer.SetContainer(IOwned, bool), LinkContainer.OnChildUpdated(object, LinkEventArgs), LinkContainer.OnContainerDestroy(object, LinkEventArgs), LinkContainer.OnDeserialization(object), LinkContainer.Verify(VerifiedResult), LinkContainer.GetCopy(object), LinkContainer.Dispose(bool), LinkContainer.ClearChildInfoBeforeDeserialize, LinkContainer.Container, LinkContainer.Owner, LinkContainer.Document, LinkContainer.ID, LinkContainer.IsChildExternable, LinkContainer.IsExternable, LinkContainer.OnRemoved, LinkContainer.OnAdded, LinkContainer.OnDestroy, LinkContainer.OnDestroying, LinkContainer.OnUpdate, LinkContainer.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
Constructors
OrientationTwoDirections(DirectionBase, DirectionBase)
Initializes a new instance of the
public OrientationTwoDirections(DirectionBase dirZ, DirectionBase dirX)
Parameters
dirZ DirectionBase
z-direction.
dirX DirectionBase
x-direction.
OrientationTwoDirections()
Initializes a new instance of the
public OrientationTwoDirections()
Properties
IsParameterized
Gets the parametric.
public override bool IsParameterized { get; }
Property Value
Value
Gets the information of orientation(OMatrix type).
public override OMatrix Value { get; set; }
Property Value
XDirection
Gets or sets x-direction.
public DirectionBase XDirection { get; set; }
Property Value
ZDirection
Gets or sets z-direction.
public DirectionBase ZDirection { get; set; }
Property Value
Methods
GetSchema()
This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return nullNothingnullptra null reference (Nothing in Visual Basic) (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.
public override XmlSchema GetSchema()
Returns
LinkRequestUpdate(object, LinkEventArgs)
The update event occured from the linked object.
protected override void LinkRequestUpdate(object objNotifier, LinkEventArgs arg)
Parameters
objNotifier object
The linked object.
arg LinkEventArgs
The update event information.
ReadXml(XmlReader)
Generates an object from its XML representation.
public override void ReadXml(XmlReader reader)
Parameters
reader XmlReader
The XmlReader stream from which the object is deserialized.
WriteXml(XmlWriter)
Converts an object into its XML representation.
public override void WriteXml(XmlWriter writer)
Parameters
writer XmlWriter
The XmlWriter stream to which the object is serialized.