FrameIT
PointFact Class Reference

Point in 3D Space More...

Inheritance diagram for PointFact:
FactWrappedCRTP< PointFact >

Public Member Functions

 PointFact (Vector3 Point, Vector3 Normal)
 Standard Constructor: Initiates Point, Normal, Fact._URI and creates MMT Fact Server-Side More...
 
 PointFact (Vector3 Point, SOMDoc ServerDefinition)
 Bypasses initialization of new MMT Fact by using existend URI, which is not checked for existence. Normal set to Vector3.up More...
 
override int GetHashCode ()
 canonical More...
 
override MMTFact MakeMMTDeclaration ()
 
override SOMDoc Defines ()
 
- Public Member Functions inherited from FactWrappedCRTP< PointFact >
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

Vector3 Point
 Position More...
 

Protected Member Functions

override void RecalculateTransform ()
 
override string[] GetDependentFactIds ()
 
override bool EquivalentWrapped (PointFact f1, PointFact f2)
 Compares f1 against f2 . More...
 
override Fact _ReInitializeMe (Dictionary< string, string > old_to_new)
 
- Protected Member Functions inherited from FactWrappedCRTP< PointFact >
 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

override bool HasDependentFacts [get]
 

Private Attributes

Vector3 Normal
 Orientation for Fact.WorldRepresentation More...
 

Detailed Description

Point in 3D Space

Constructor & Destructor Documentation

◆ PointFact() [1/2]

PointFact.PointFact ( Vector3  Point,
Vector3  Normal 
)

Standard Constructor: Initiates Point, Normal, Fact._URI and creates MMT Fact Server-Side

Parameters
Pointsets Point
Normalsets Normal

◆ PointFact() [2/2]

PointFact.PointFact ( Vector3  Point,
SOMDoc  ServerDefinition 
)

Bypasses initialization of new MMT Fact by using existend URI, which is not checked for existence. Normal set to Vector3.up

Parameters
Pointsets Point
ServerDefinitionMMT URI as OMS

Member Function Documentation

◆ _ReInitializeMe()

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

◆ Defines()

override SOMDoc PointFact.Defines ( )

◆ EquivalentWrapped()

override bool PointFact.EquivalentWrapped ( PointFact  f1,
PointFact  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

◆ GetDependentFactIds()

override string[] PointFact.GetDependentFactIds ( )
protected

◆ GetHashCode()

override int PointFact.GetHashCode ( )

canonical

Returns
unique-ish Hash

◆ MakeMMTDeclaration()

override MMTFact PointFact.MakeMMTDeclaration ( )

◆ parseFact()

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

◆ RecalculateTransform()

override void PointFact.RecalculateTransform ( )
protected

Member Data Documentation

◆ Normal

Vector3 PointFact.Normal
private

Orientation for Fact.WorldRepresentation

◆ Point

Vector3 PointFact.Point

Position

Property Documentation

◆ HasDependentFacts

override bool PointFact.HasDependentFacts
get


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