Class Point
- Namespace
- Loehnert.TypeAndResult
- Assembly
- Loehnert.TypeAndResult.dll
Represents a point of a characteristic line.
[MessagePackObject(false)]
public class Point : EntityBase, INotifyPropertyChanged, ITrackable, IEquatable<Point>, ICanApplyID<Point>
- Inheritance
-
Point
- Implements
- Inherited Members
- Extension Methods
Constructors
Point()
Initializes a new instance of the Point class.
public Point()
Properties
AdditionalLimits
Gets the additional limits.
[Key(3)]
public virtual EntityCollection<PointLimit> AdditionalLimits { get; }
Property Value
CharacteristicLine
Gets the CharacteristicLine object to which the point belongs.
[IgnoreMember]
[JsonIgnore]
public virtual CharacteristicLine CharacteristicLine { get; }
Property Value
CharacteristicLineID
Gets or sets the foreign key of the CharacteristicLine.
[JsonIgnore]
[IgnoreMember]
public int CharacteristicLineID { get; set; }
Property Value
EvaluationRequired
Gets or sets a value indicating whether the attribute must be evaluated.
[Key(0)]
public virtual bool EvaluationRequired { get; set; }
Property Value
Parameters
Gets the additional parameters.
[Key(5)]
public virtual EntityCollection<PointParameter> Parameters { get; }
Property Value
Tolerance
Gets or sets the tolerance limit.
[Key(1)]
public virtual Limit Tolerance { get; set; }
Property Value
XValue
Gets or sets the x value.
[Key(4)]
public virtual double XValue { get; set; }
Property Value
Methods
ApplyID(Point)
public void ApplyID(Point source)
Parameters
source
PointSource object.
Equals(Point)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Point other)
Parameters
other
PointAn object to compare with this object.
Returns
- bool
true if the current object is equal to the other parameter; otherwise, false.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.