FrameIT
LineFactHightComparer Class Reference

Checks LineFacts if Compare(Fact, Fact).fact is at least of same length as Compare(Fact, Fact).solution, while accounting for Unity and floating point precission

See also
Math3d.vectorPrecission
More...

Inheritance diagram for LineFactHightComparer:
FactComparer

Protected Member Functions

override bool Compare (Fact solution, Fact fact)
 Checks LineFacts if Compare(Fact, Fact).fact is of same direction and at least of same length as Compare(Fact, Fact).solution, while accounting for Unity and floating point precission

See also
Math3d.vectorPrecission
More...
 
override void Init ()
 unused More...
 

Additional Inherited Members

- Public Member Functions inherited from FactComparer
FactComparer SetSearchRight ()
 Sets search_righthanded, so that parameter order of Equals(Fact, Fact) is effectively: (Compare(Fact, Fact).solution, Compare(Fact, Fact).fact), when a ICollection<Fact> is on the right hand side of an System.Linq operation More...
 
FactComparer SetSearchLeft ()
 Sets search_righthanded, so that parameter order of Equals(Fact, Fact) is effectively: (Compare(Fact, Fact).solution, Compare(Fact, Fact).fact), when a ICollection<Fact> is on the left hand side of an System.Linq operation More...
 
override bool Equals (Fact left, Fact right)
 Called by System.Linq iff GetHashCode(Fact) returns same result for both parameters left and right . More...
 
override int GetHashCode (Fact obj)
 Called by System.Linq to check for possible fulfillment of each parameter before calling Equals(Fact, Fact) iff both results are the same. More...
 
- Protected Attributes inherited from FactComparer
bool search_righthanded
 defines parameter order for Equals(Fact, Fact) More...
 

Detailed Description

Checks LineFacts if Compare(Fact, Fact).fact is at least of same length as Compare(Fact, Fact).solution, while accounting for Unity and floating point precission

See also
Math3d.vectorPrecission

Member Function Documentation

◆ Compare()

override bool LineFactHightComparer.Compare ( Fact  solution,
Fact  fact 
)
protectedvirtual

Checks LineFacts if Compare(Fact, Fact).fact is of same direction and at least of same length as Compare(Fact, Fact).solution, while accounting for Unity and floating point precission

See also
Math3d.vectorPrecission

Implements criteria, by which fact is beeing compared to solution

Parameters
solutionto be fulfilled
factto be fulfilling
Returns
true iff fact is described by solution

Implements FactComparer.

◆ Init()

override void LineFactHightComparer.Init ( )
protectedvirtual

unused

Implements FactComparer.


The documentation for this class was generated from the following file: