FrameIT
AbstractLineFactWrappedCRTP< T > Class Template Referenceabstract

Implements CRTP for AbstractLineFact; Escalates constructors; More...

Inheritance diagram for AbstractLineFactWrappedCRTP< T >:
AbstractLineFact FactWrappedCRTP< AbstractLineFact >

Protected Member Functions

 AbstractLineFactWrappedCRTP ()
 
 AbstractLineFactWrappedCRTP (string pid1, string pid2)
 
 AbstractLineFactWrappedCRTP (string pid1, string pid2, SOMDoc _ServerDefinition)
 
override bool EquivalentWrapped (AbstractLineFact f1, AbstractLineFact f2)
 Compares f1 against f2 . More...
 
abstract bool EquivalentWrapped (T f1, T f2)
 CRTP step of EquivalentWrapped(AbstractLineFact, AbstractLineFact) More...
 
- Protected Member Functions inherited from AbstractLineFact
 AbstractLineFact ()
 
 AbstractLineFact (string pid1, string pid2)
 Standard Constructor More...
 
 AbstractLineFact (string pid1, string pid2, SOMDoc _ServerDefinition)
 Bypasses initialization of new MMT Fact by using existend URI, which is not checked for existence. More...
 
override void RecalculateTransform ()
 
override string[] GetDependentFactIds ()
 
- Protected Member Functions inherited from FactWrappedCRTP< AbstractLineFact >
 FactWrappedCRTP ()
 
bool DependentFactsEquivalent (T f1, T f2)
 

Additional Inherited Members

- Public Member Functions inherited from FactWrappedCRTP< AbstractLineFact >
override bool Equivalent (Fact f2)
 Compares this against f2 . More...
 
override bool Equivalent (Fact f1, Fact f2)
 Compares f1 against f2 . More...
 
- Public Attributes inherited from AbstractLineFact
float Distance
 Distance between AbstractLineFact.Pid1 and AbstractLineFact.Pid2 More...
 
Vector3 Dir
 Normalized Direction from Pid1 to Pid2. More...
 
string Pid1
 One Id of two PointFact defining Dir. More...
 
string Pid2
 One Id of two PointFact defining Dir. More...
 
- Properties inherited from AbstractLineFact
PointFact Point1 [get]
 
PointFact Point2 [get]
 
override bool HasDependentFacts [get]
 

Detailed Description

Implements CRTP for AbstractLineFact; Escalates constructors;

Template Parameters
Tclass, which inherits from AbstractLineFactWrappedCRTP
Type Constraints
T :AbstractLineFactWrappedCRTP<T> 

Constructor & Destructor Documentation

◆ AbstractLineFactWrappedCRTP() [1/3]

◆ AbstractLineFactWrappedCRTP() [2/3]

AbstractLineFactWrappedCRTP< T >.AbstractLineFactWrappedCRTP ( string  pid1,
string  pid2 
)
protected

◆ AbstractLineFactWrappedCRTP() [3/3]

AbstractLineFactWrappedCRTP< T >.AbstractLineFactWrappedCRTP ( string  pid1,
string  pid2,
SOMDoc  _ServerDefinition 
)
protected

Member Function Documentation

◆ EquivalentWrapped() [1/2]

override bool AbstractLineFactWrappedCRTP< T >.EquivalentWrapped ( AbstractLineFact  f1,
AbstractLineFact  f2 
)
protected

Compares f1 against f2 .

Parameters
f1Fact to compare to
f2Fact to compare to
Returns
true if f2 is semantical very similar to f1

◆ EquivalentWrapped() [2/2]

abstract bool AbstractLineFactWrappedCRTP< T >.EquivalentWrapped ( f1,
f2 
)
protectedpure virtual

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