FrameIT
AngleFact Class Reference

Angle comprised of three PointFacts [A,B,C] More...

Inheritance diagram for AngleFact:
AbstractAngleFactWrappedCRTP< AngleFact >

Public Member Functions

 AngleFact ()
 
 AngleFact (string pid1, string pid2, string pid3)
 Standard Constructor: Initiates Pid1, Pid2, Pid3, is_right_angle, Fact._URI and creates MMT Fact Server-Side More...
 
 AngleFact (string Pid1, string Pid2, string Pid3, float angle, 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 ()
 

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 (AngleFact f1, AngleFact f2)
 Compares f1 against f2 . More...
 
override Fact _ReInitializeMe (Dictionary< string, string > old_to_new)
 
- Protected Member Functions inherited from AbstractAngleFactWrappedCRTP< AngleFact >
 AbstractAngleFactWrappedCRTP ()
 
 AbstractAngleFactWrappedCRTP (AbstractAngleFactWrappedCRTP< T > fact, Dictionary< string, string > old_to_new)
 
 AbstractAngleFactWrappedCRTP (string pid1, string pid2, string pid3)
 
 AbstractAngleFactWrappedCRTP (string pid1, string pid2, string pid3, float angle, SOMDoc _ServerDefinition)
 
override bool EquivalentWrapped (AbstractAngleFact f1, AbstractAngleFact f2)
 Compares f1 against f2 . More...
 
abstract bool EquivalentWrapped (T f1, T f2)
 CRTP step of EquivalentWrapped(AbstractAngleFact, AbstractAngleFact) More...
 

Detailed Description

Angle comprised of three PointFacts [A,B,C]

Constructor & Destructor Documentation

◆ AngleFact() [1/3]

AngleFact.AngleFact ( )

Only being used by JsonReader to initiate empty Facts.

See also
SOMDocManager

◆ AngleFact() [2/3]

AngleFact.AngleFact ( string  pid1,
string  pid2,
string  pid3 
)

Standard Constructor: Initiates Pid1, Pid2, Pid3, is_right_angle, Fact._URI and creates MMT Fact Server-Side

Parameters
pid1sets Pid1
pid2sets Pid2
pid3sets Pid3

◆ AngleFact() [3/3]

AngleFact.AngleFact ( string  Pid1,
string  Pid2,
string  Pid3,
float  angle,
SOMDoc  _ServerDefinition 
)

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

Parameters
Pid1sets Pid1
Pid2sets Pid2
Pid3sets Pid3
backendURIMMT URI

Member Function Documentation

◆ _ReInitializeMe()

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

◆ Defines()

override SOMDoc AngleFact.Defines ( )

◆ EquivalentWrapped()

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

◆ parseFact()

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


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