Hide menu
Loading...
Searching...
No Matches
cadex.MTKBase_FeatureList Class Reference

Defines a list of features. More...

Inherits global.SystemIDisposable.

Public Member Functions

 MTKBase_FeatureList (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
 MTKBase_FeatureList ()
 Constructor.
 
void Append (cadex.MTKBase_Feature theFeature)
 
void Append (cadex.MTKBase_FeatureList theFeatureList)
 Adds features to the list.
 
cadex.MTKBase_Feature Feature (uint theIndex)
 Access specified element.
 
cadex.MTKBase_Feature Access (uint theIndex)
 
uint Size ()
 Returns the number of elements in the list.
 
bool IsEmpty ()
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Detailed Description

Constructor & Destructor Documentation

◆ MTKBase_FeatureList()

cadex.MTKBase_FeatureList.MTKBase_FeatureList ( )
inline

Constructor.

Creates an empty list.

Member Function Documentation

◆ Feature()

cadex.MTKBase_Feature cadex.MTKBase_FeatureList.Feature ( uint theIndex)
inline

Access specified element.

Returns a reference to the feature at specified location pos.

theIndex must be in the range [0, Size()-1]. Otherwise the result is undefined.

See also
Size()

Access specified element.

Returns the feature at specified location pos.

theIndex must be in the range [0, Size()-1]. Otherwise the result is undefined.

See also
Size()
Examples
MTKConverter/Program.cs, machining/dfm_analyzer/Program.cs, molding/dfm_analyzer/Program.cs, molding/feature_recognizer/Program.cs, and sheet_metal/dfm_analyzer/Program.cs.