FrameIT
OrthogonalCircleLineFact Class Reference

The fact that the plane of a CircleFact and the line <see cref="RayFact>RayFactare orthogonal More...

Inheritance diagram for OrthogonalCircleLineFact:
FactWrappedCRTP< OrthogonalCircleLineFact >

Public Member Functions

 OrthogonalCircleLineFact ()
 
 OrthogonalCircleLineFact (string cid1, string lid1)
 Standard Constructor: Initiates members and creates MMT Fact Server-Side More...
 
 OrthogonalCircleLineFact (string Cid1, string Lid1, 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< OrthogonalCircleLineFact >
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 Cid1
 a CircleFact describing the base area More...
 
string Lid1
 a Rayfact describing the line More...
 
float angle = 90f
 
Vector3 intersection
 

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

CircleFact Circle [get]
 
AbstractLineFact Ray [get]
 
override bool HasDependentFacts [get]
 

Detailed Description

The fact that the plane of a CircleFact and the line <see cref="RayFact>RayFact

are orthogonal

Constructor & Destructor Documentation

◆ OrthogonalCircleLineFact() [1/3]

OrthogonalCircleLineFact.OrthogonalCircleLineFact ( )

Only being used by JsonReader to initiate empty Facts.

See also
SOMDocManager

◆ OrthogonalCircleLineFact() [2/3]

OrthogonalCircleLineFact.OrthogonalCircleLineFact ( string  cid1,
string  lid1 
)

Standard Constructor: Initiates members and creates MMT Fact Server-Side

Parameters
cid1sets Cid1
lid1sets Lid1

◆ OrthogonalCircleLineFact() [3/3]

OrthogonalCircleLineFact.OrthogonalCircleLineFact ( string  Cid1,
string  Lid1,
SOMDoc  _ServerDefinition 
)

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

Parameters
Cid1sets Cid1
Lid1sets Lid1
backendURIMMT URI

Member Function Documentation

◆ _ReInitializeMe()

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

◆ Defines()

override SOMDoc OrthogonalCircleLineFact.Defines ( )

◆ EquivalentWrapped()

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

◆ MakeMMTDeclaration()

override MMTFact OrthogonalCircleLineFact.MakeMMTDeclaration ( )

◆ parseFact()

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

◆ RecalculateTransform()

override void OrthogonalCircleLineFact.RecalculateTransform ( )
protected

Member Data Documentation

◆ angle

float OrthogonalCircleLineFact.angle = 90f

◆ Cid1

string OrthogonalCircleLineFact.Cid1

a CircleFact describing the base area

◆ intersection

Vector3 OrthogonalCircleLineFact.intersection

◆ Lid1

string OrthogonalCircleLineFact.Lid1

a Rayfact describing the line

Property Documentation

◆ Circle

CircleFact OrthogonalCircleLineFact.Circle
get

◆ HasDependentFacts

override bool OrthogonalCircleLineFact.HasDependentFacts
get

◆ Ray

AbstractLineFact OrthogonalCircleLineFact.Ray
get

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