FrameIT
LineFact Class Reference

Line within 3D Space of finite length More...

Inheritance diagram for LineFact:
AbstractLineFactWrappedCRTP< LineFact >

Public Member Functions

 LineFact ()
 
 LineFact (string pid1, string pid2, SOMDoc _ServerDefinition)
 
 LineFact (string pid1, string pid2)
 
override MMTFact MakeMMTDeclaration ()
 
override SOMDoc Defines ()
 

Static Public Member Functions

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

Protected Member Functions

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 bool EquivalentWrapped (LineFact f1, LineFact f2)
 Compares f1 against f2 . More...
 
override Fact _ReInitializeMe (Dictionary< string, string > old_to_new)
 
- Protected Member Functions inherited from AbstractLineFactWrappedCRTP< LineFact >
 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...
 

Static Protected Attributes

static new string s_type = "LineFact"
 

Detailed Description

Line within 3D Space of finite length

Constructor & Destructor Documentation

◆ LineFact() [1/3]

LineFact.LineFact ( )

Only being used by JsonReader to initiate empty Facts.

See also
SOMDocManager

◆ LineFact() [2/3]

LineFact.LineFact ( string  pid1,
string  pid2,
SOMDoc  _ServerDefinition 
)

◆ LineFact() [3/3]

LineFact.LineFact ( string  pid1,
string  pid2 
)

Member Function Documentation

◆ _ReInitializeMe()

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

◆ Defines()

override SOMDoc LineFact.Defines ( )

◆ EquivalentWrapped()

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

◆ MakeMMTDeclaration()

override MMTFact LineFact.MakeMMTDeclaration ( )

◆ parseFact()

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

Member Data Documentation

◆ s_type

new string LineFact.s_type = "LineFact"
staticprotected

[ClassName] for JSON de-/serialization. Automatically set in Fact() for NON-Generiy-Types! Also add JsonSubtypes.KnownSubType decorator for deserialization to Fact!


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