Class PointRated
Last update: 16.07.2025Namespace: VM.Managed
Assembly: VMAppCore.dll
This class is to represent the information of two points, N: M ratios obtained to calculate the position.
public class PointRated : PointBase, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable
Inheritance
object ← ObservableObject ← LinkableBase ← LinkContainer ← PointBase ← PointRated
Implements
IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable
Inherited Members
PointBase.IsParametric(Primitive.enRefType), PointBase.IsParametric(string), PointBase.ReadXml(XmlReader), PointBase.WriteXml(XmlWriter), PointBase.GetSchema(), PointBase.IsParameterized, PointBase.Z, PointBase.Y, PointBase.X, PointBase.Value, 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<T>(object, LinkPropertyType)
Constructors
PointRated(PointBase, PointBase, Variable)
Initializes a new instance of the
public PointRated(PointBase ptStart, PointBase ptEnd, Variable rate)
Parameters
ptStart PointBase
Start point.
ptEnd PointBase
End point.
rate Variable
Ratio.
PointRated(PointBase, PointBase, double)
Initializes a new instance of the
public PointRated(PointBase ptStart, PointBase ptEnd, double rate)
Parameters
ptStart PointBase
Start point.
ptEnd PointBase
End point.
rate double
Ratio.
PointRated(PointBase, PointBase)
Initializes a new instance of the
public PointRated(PointBase ptStart, PointBase ptEnd)
Parameters
ptStart PointBase
Start point.
ptEnd PointBase
End point.
PointRated()
Initializes a new instance of the
public PointRated()
Fields
m_Rate
protected Child<Variable, LinkContainer.Update> m_Rate
Field Value
Child<Variable, LinkContainer.Update>
m_ptEnd
protected Child<PointBase, LinkContainer.Update> m_ptEnd
Field Value
Child<PointBase, LinkContainer.Update>
m_ptStart
protected Child<PointBase, LinkContainer.Update> m_ptStart
Field Value
Child<PointBase, LinkContainer.Update>
Properties
EndPoint
Gets or sets end point.
public PointBase EndPoint { get; set; }
Property Value
IsParameterized
Get the parametric.
public override bool IsParameterized { get; }
Property Value
Rate
Gets or sets ratio.
public Variable Rate { get; set; }
Property Value
StartPoint
Gets or sets start point.
public PointBase StartPoint { get; set; }
Property Value
Value
Get the VectorBase(x, y, z).
public override VectorBase Value { get; }
Property Value
X
Get the X point.
public override double X { get; }
Property Value
Y
Get the Y point.
public override double Y { get; }
Property Value
Z
Get the Z point.
public override double Z { get; }
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
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.