FrameIT
OnLineFact Class Reference

A PointFact on a AbstractLineFact More...

Inheritance diagram for OnLineFact:
FactWrappedCRTP< OnLineFact >

Public Member Functions

 OnLineFact ()
 
 OnLineFact (string pid, string rid)
 Standard Constructor: Initiates Pid, Rid, Fact._URI and creates MMT Fact Server-Side More...
 
 OnLineFact (string pid, string rid, 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< OnLineFact >
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 Pid
 PointFact.Id More...
 
string Rid
 AbstractLineFact.Id 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 (OnLineFact f1, OnLineFact f2)
 
override Fact _ReInitializeMe (Dictionary< string, string > old_to_new)
 
- Protected Member Functions inherited from FactWrappedCRTP< OnLineFact >
 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

PointFact Point [get]
 
AbstractLineFact Ray [get]
 
override bool HasDependentFacts [get]
 

Detailed Description

Constructor & Destructor Documentation

◆ OnLineFact() [1/3]

OnLineFact.OnLineFact ( )

Only being used by JsonReader to initiate empty Facts.

See also
SOMDocManager

◆ OnLineFact() [2/3]

OnLineFact.OnLineFact ( string  pid,
string  rid 
)

Standard Constructor: Initiates Pid, Rid, Fact._URI and creates MMT Fact Server-Side

Parameters
pidsets Pid
ridsets Rid

◆ OnLineFact() [3/3]

OnLineFact.OnLineFact ( string  pid,
string  rid,
SOMDoc  _ServerDefinition 
)

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

Parameters
pidsets Pid
ridsets Rid
uriMMT URI

Member Function Documentation

◆ _ReInitializeMe()

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

◆ Defines()

override SOMDoc OnLineFact.Defines ( )

◆ EquivalentWrapped()

override bool OnLineFact.EquivalentWrapped ( OnLineFact  f1,
OnLineFact  f2 
)
protected

◆ generateLabel()

override string OnLineFact.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[] OnLineFact.GetDependentFactIds ( )
protected

◆ MakeMMTDeclaration()

override MMTFact OnLineFact.MakeMMTDeclaration ( )

◆ parseFact()

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

◆ RecalculateTransform()

override void OnLineFact.RecalculateTransform ( )
protected

Member Data Documentation

◆ Pid

string OnLineFact.Pid

◆ Rid

string OnLineFact.Rid

Property Documentation

◆ HasDependentFacts

override bool OnLineFact.HasDependentFacts
get

◆ Point

PointFact OnLineFact.Point
get

◆ Ray

AbstractLineFact OnLineFact.Ray
get

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