FrameIT
RayFact Class Reference

Ray within 3D Space of infinite length More...

Inheritance diagram for RayFact:
AbstractLineFactWrappedCRTP< RayFact >

Public Member Functions

 RayFact ()
 
 RayFact (string pid1, string pid2, SOMDoc _ServerDefinition)
 
 RayFact (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 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 bool EquivalentWrapped (RayFact f1, RayFact f2)
 Compares f1 against f2 . More...
 
override Fact _ReInitializeMe (Dictionary< string, string > old_to_new)
 
- Protected Member Functions inherited from AbstractLineFactWrappedCRTP< RayFact >
 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 = "RayFact"
 

Detailed Description

Ray within 3D Space of infinite length

Constructor & Destructor Documentation

◆ RayFact() [1/3]

RayFact.RayFact ( )

Only being used by JsonReader to initiate empty Facts.

See also
SOMDocManager

◆ RayFact() [2/3]

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

◆ RayFact() [3/3]

RayFact.RayFact ( string  pid1,
string  pid2 
)

Member Function Documentation

◆ _ReInitializeMe()

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

◆ Defines()

override SOMDoc RayFact.Defines ( )

◆ EquivalentWrapped()

override bool RayFact.EquivalentWrapped ( RayFact  f1,
RayFact  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 RayFact.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 RayFact.MakeMMTDeclaration ( )

◆ parseFact()

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

◆ RecalculateTransform()

override void RayFact.RecalculateTransform ( )
protected

Member Data Documentation

◆ s_type

new string RayFact.s_type = "RayFact"
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: