Table of Contents

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

EntityCollection<PointLimit>

CharacteristicLine

Gets the CharacteristicLine object to which the point belongs.

[IgnoreMember]
[JsonIgnore]
public virtual CharacteristicLine CharacteristicLine { get; }

Property Value

CharacteristicLine

CharacteristicLineID

Gets or sets the foreign key of the CharacteristicLine.

[JsonIgnore]
[IgnoreMember]
public int CharacteristicLineID { get; set; }

Property Value

int

EvaluationRequired

Gets or sets a value indicating whether the attribute must be evaluated.

[Key(0)]
public virtual bool EvaluationRequired { get; set; }

Property Value

bool

Parameters

Gets the additional parameters.

[Key(5)]
public virtual EntityCollection<PointParameter> Parameters { get; }

Property Value

EntityCollection<PointParameter>

Tolerance

Gets or sets the tolerance limit.

[Key(1)]
public virtual Limit Tolerance { get; set; }

Property Value

Limit

XValue

Gets or sets the x value.

[Key(4)]
public virtual double XValue { get; set; }

Property Value

double

Methods

ApplyID(Point)

Copies the ID from source to ID.

public void ApplyID(Point source)

Parameters

source Point

Source object.

Equals(Point)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Point other)

Parameters

other Point

An 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.