FrameIT
LineSpanningOverRiverWorldComparer Class Reference

Checks LineFacts if Compare(Fact, Fact).fact spanns over (not within) the river in RiverWorld. Needs a dummy Compare(Fact, Fact).solution. More...

Inheritance diagram for LineSpanningOverRiverWorldComparer:
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 ()
 inits RiverWallCollider More...
 

Private Attributes

Collider RiverWallCollider
 Has collider defining area above the River in Riverworld 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 spanns over (not within) the river in RiverWorld. Needs a dummy Compare(Fact, Fact).solution.

Member Function Documentation

◆ Compare()

override bool LineSpanningOverRiverWorldComparer.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 LineSpanningOverRiverWorldComparer.Init ( )
protectedvirtual

inits RiverWallCollider

Implements FactComparer.

Member Data Documentation

◆ RiverWallCollider

Collider LineSpanningOverRiverWorldComparer.RiverWallCollider
private

Has collider defining area above the River in Riverworld


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