Hide menu
Loading...
Searching...
No Matches

Defines a datum reference. More...

Inheritance diagram for cadex.PMI.DatumRefAttribute:
cadex.PMI.SemanticAttribute cadex.BaseObject

Public Member Functions

 DatumRefAttribute (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 DatumRefAttribute ()
 Constructor.
 
 DatumRefAttribute (uint thePrecedence, cadex.UTF16String theTargetLabel)
 Constructor.
 
void SetPrecedence (uint thePrecedence)
 Sets precedence.
 
uint Precedence ()
 Returns 1 by default.
 
void SetTargetLabel (cadex.UTF16String theTargetLabel)
 Sets the target label.
 
cadex.UTF16String TargetLabel ()
 Returns the target label.
 
- Public Member Functions inherited from cadex.PMI.SemanticAttribute
 SemanticAttribute (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Accept (cadex.PMI.SemanticAttributeVisitor theVisitor)
 
- Public Member Functions inherited from cadex.BaseObject
 BaseObject (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
bool IsNull ()
 
ulong Id ()
 Return unique identifier of public object.
 
bool IsEqual (cadex.BaseObject theObj)
 
override int GetHashCode ()
 
override bool Equals (System.Object o)
 

Static Public Member Functions

static new bool CompareType (cadex.BaseObject theObject)
 Returns true if theObject has the DatumRefAttribute type.
 
- Static Public Member Functions inherited from cadex.PMI.SemanticAttribute
static bool CompareType (cadex.BaseObject theObject)
 Returns true if theObject has the SemanticAttribute type.
 
static cadex.PMI.SemanticAttribute Cast (cadex.BaseObject theBase)
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from cadex.PMI.SemanticAttribute
override void Dispose (bool disposing)
 

Detailed Description

Defines a datum reference.

Stores a label of the datum and its precedence in a compartment of a geometric tolerance.

See also
SemanticAttribute
Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

Constructor & Destructor Documentation

◆ DatumRefAttribute() [1/2]

cadex.PMI.DatumRefAttribute.DatumRefAttribute ( )
inline

Constructor.

◆ DatumRefAttribute() [2/2]

cadex.PMI.DatumRefAttribute.DatumRefAttribute ( uint thePrecedence,
cadex.UTF16String theTargetLabel )
inline

Constructor.

Member Function Documentation

◆ CompareType()

static new bool cadex.PMI.DatumRefAttribute.CompareType ( cadex.BaseObject theObject)
inlinestatic

Returns true if theObject has the DatumRefAttribute type.

◆ Dispose()

override void cadex.PMI.DatumRefAttribute.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from cadex.BaseObject.

◆ Precedence()

uint cadex.PMI.DatumRefAttribute.Precedence ( )
inline

Returns 1 by default.

Returns the precedence value.

Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

◆ SetPrecedence()

void cadex.PMI.DatumRefAttribute.SetPrecedence ( uint thePrecedence)
inline

Sets precedence.

◆ SetTargetLabel()

void cadex.PMI.DatumRefAttribute.SetTargetLabel ( cadex.UTF16String theTargetLabel)
inline

Sets the target label.

◆ TargetLabel()

cadex.UTF16String cadex.PMI.DatumRefAttribute.TargetLabel ( )
inline

Returns the target label.

Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.