FrameIT
ParallelLineFact Class Reference

Two parallel Lines comprised of two LineFacts More...

Inheritance diagram for ParallelLineFact:
FactWrappedCRTP< ParallelLineFact >

Public Member Functions

 ParallelLineFact ()
 
 ParallelLineFact (string lid1, string lid2)
 Standard Constructor More...
 
 ParallelLineFact (string Lid1, string Lid2, SOMDoc _ServerDefinition)
 Bypasses initialization of new MMT Fact by using existend URI, which is not checked for existence. More...
 
override MMTFact MakeMMTDeclaration ()
 
override SOMDoc Defines ()
 
- Public Member Functions inherited from FactWrappedCRTP< ParallelLineFact >
override bool Equivalent (Fact f2)
 Compares this against f2 . More...
 
override bool Equivalent (Fact f1, Fact f2)
 Compares f1 against f2 . More...
 

Static Public Member Functions

static new IEnumerator parseFact (List< Fact > ret, MMTFact fact)
 

Public Attributes

string Lid1
 One Id of two LineFact that are parallel [Lid1, Lid2]. More...
 
string Lid2
 One Id of two LineFact that are parallel [Lid1, Lid2]. More...
 

Protected Member Functions

override void RecalculateTransform ()
 
override string generateLabel (FactRecorder name_space)
 auto-generates GetLabel using generation variable(s) e.g. LabelId; if custom GetLabel is set, tries to restore original generated GetLabel without resetting _CustomLabel. If original GetLabel is already taken, a new one will be generated. More...
 
override string[] GetDependentFactIds ()
 
override bool EquivalentWrapped (ParallelLineFact f1, ParallelLineFact f2)
 Compares f1 against f2 . More...
 
override Fact _ReInitializeMe (Dictionary< string, string > old_to_new)
 
- Protected Member Functions inherited from FactWrappedCRTP< ParallelLineFact >
 FactWrappedCRTP ()
 
abstract bool EquivalentWrapped (T f1, T f2)
 CRTP step of Equivalent(Fact) and Equivalent(Fact, Fact) More...
 
bool DependentFactsEquivalent (T f1, T f2)
 

Properties

AbstractLineFact Ray1 [get]
 
AbstractLineFact Ray2 [get]
 
override bool HasDependentFacts [get]
 

Detailed Description

Two parallel Lines comprised of two LineFacts

Constructor & Destructor Documentation

◆ ParallelLineFact() [1/3]

ParallelLineFact.ParallelLineFact ( )

Only being used by JsonReader to initiate empty Facts.

See also
SOMDocManager

◆ ParallelLineFact() [2/3]

ParallelLineFact.ParallelLineFact ( string  lid1,
string  lid2 
)

Standard Constructor

Parameters
lid1sets Lid1
lid2sets Lid2

◆ ParallelLineFact() [3/3]

ParallelLineFact.ParallelLineFact ( string  Lid1,
string  Lid2,
SOMDoc  _ServerDefinition 
)

Bypasses initialization of new MMT Fact by using existend URI, which is not checked for existence.

Parameters
Lid1sets Lid1
Lid2sets Lid2
backendURIMMT URI

Member Function Documentation

◆ _ReInitializeMe()

override Fact ParallelLineFact._ReInitializeMe ( Dictionary< string, string >  old_to_new)
protected

◆ Defines()

override SOMDoc ParallelLineFact.Defines ( )

◆ EquivalentWrapped()

override bool ParallelLineFact.EquivalentWrapped ( ParallelLineFact  f1,
ParallelLineFact  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

◆ generateLabel()

override string ParallelLineFact.generateLabel ( FactRecorder  name_space)
protected

auto-generates GetLabel using generation variable(s) e.g. LabelId; if custom GetLabel is set, tries to restore original generated GetLabel without resetting _CustomLabel. If original GetLabel is already taken, a new one will be generated.

Returns
auto-generated GetLabel

◆ GetDependentFactIds()

override string[] ParallelLineFact.GetDependentFactIds ( )
protected

◆ MakeMMTDeclaration()

override MMTFact ParallelLineFact.MakeMMTDeclaration ( )

◆ parseFact()

static new IEnumerator ParallelLineFact.parseFact ( List< Fact ret,
MMTFact  fact 
)
static

◆ RecalculateTransform()

override void ParallelLineFact.RecalculateTransform ( )
protected

Member Data Documentation

◆ Lid1

string ParallelLineFact.Lid1

One Id of two LineFact that are parallel [Lid1, Lid2].

◆ Lid2

string ParallelLineFact.Lid2

One Id of two LineFact that are parallel [Lid1, Lid2].

Property Documentation

◆ HasDependentFacts

override bool ParallelLineFact.HasDependentFacts
get

◆ Ray1

AbstractLineFact ParallelLineFact.Ray1
get

◆ Ray2

AbstractLineFact ParallelLineFact.Ray2
get

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