FrameIT
AngleCircleLineFact Class Reference

Angle comprised of a line and a circle More...

Inheritance diagram for AngleCircleLineFact:
FactWrappedCRTP< AngleCircleLineFact >

Public Member Functions

 AngleCircleLineFact ()
 
 AngleCircleLineFact (string cid1, string rid2)
 Standard Constructor: Initiates Cid1, Rid2, angle Fact._URI and creates MMT Fact Server-Side More...
 
 AngleCircleLineFact (string Cid1, string Rid2, 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 ()
 
- Public Member Functions inherited from FactWrappedCRTP< AngleCircleLineFact >
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

float angle
 
Vector3 intersection
 
string Cid1
 One Id of a RayFact and a CircleFact defining Angle [Cid1, Rid2]. More...
 
string Rid2
 One Id of a RayFact and a CircleFact defining Angle [Cid1, Rid2]. 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 (AngleCircleLineFact f1, AngleCircleLineFact f2)
 Compares f1 against f2 . More...
 
override Fact _ReInitializeMe (Dictionary< string, string > old_to_new)
 
- Protected Member Functions inherited from FactWrappedCRTP< AngleCircleLineFact >
 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 Ray [get]
 
CircleFact Circle [get]
 
override bool HasDependentFacts [get]
 

Detailed Description

Angle comprised of a line and a circle

Constructor & Destructor Documentation

◆ AngleCircleLineFact() [1/3]

AngleCircleLineFact.AngleCircleLineFact ( )

Only being used by JsonReader to initiate empty Facts.

See also
SOMDocManager

◆ AngleCircleLineFact() [2/3]

AngleCircleLineFact.AngleCircleLineFact ( string  cid1,
string  rid2 
)

Standard Constructor: Initiates Cid1, Rid2, angle Fact._URI and creates MMT Fact Server-Side

Parameters
cid1sets Cid1
rid2sets Rid2
anglesets the angle

◆ AngleCircleLineFact() [3/3]

AngleCircleLineFact.AngleCircleLineFact ( string  Cid1,
string  Rid2,
float  angle,
SOMDoc  _ServerDefinition 
)

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

Parameters
Cid1sets Cid1
´Rid2sets Rid2
anglesets the angle
backendURIMMT URI

Member Function Documentation

◆ _ReInitializeMe()

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

◆ Defines()

override SOMDoc AngleCircleLineFact.Defines ( )

◆ EquivalentWrapped()

override bool AngleCircleLineFact.EquivalentWrapped ( AngleCircleLineFact  f1,
AngleCircleLineFact  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 AngleCircleLineFact.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[] AngleCircleLineFact.GetDependentFactIds ( )
protected

◆ MakeMMTDeclaration()

override MMTFact AngleCircleLineFact.MakeMMTDeclaration ( )

◆ parseFact()

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

◆ RecalculateTransform()

override void AngleCircleLineFact.RecalculateTransform ( )
protected

Member Data Documentation

◆ angle

float AngleCircleLineFact.angle

◆ Cid1

string AngleCircleLineFact.Cid1

One Id of a RayFact and a CircleFact defining Angle [Cid1, Rid2].

◆ intersection

Vector3 AngleCircleLineFact.intersection

◆ Rid2

string AngleCircleLineFact.Rid2

One Id of a RayFact and a CircleFact defining Angle [Cid1, Rid2].

Property Documentation

◆ Circle

CircleFact AngleCircleLineFact.Circle
get

◆ HasDependentFacts

override bool AngleCircleLineFact.HasDependentFacts
get

◆ Ray

AbstractLineFact AngleCircleLineFact.Ray
get

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