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 ()
 Creates an empty list.
 
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 ()
 Returns true if the list empty.
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Detailed Description

Constructor & Destructor Documentation

◆ MTKBase_FeatureList()

cadex.MTKBase_FeatureList.MTKBase_FeatureList ( )
inline

Creates an empty list.

Constructor.

Member Function Documentation

◆ Append()

void cadex.MTKBase_FeatureList.Append ( cadex.MTKBase_FeatureList theFeatureList)
inline

Adds features to the list.

◆ 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, sheet_metal/dfm_analyzer/Program.cs, and sheet_metal/feature_recognizer/Program.cs.

◆ IsEmpty()

bool cadex.MTKBase_FeatureList.IsEmpty ( )
inline

Returns true if the list empty.

See also
Size()
Examples
MTKConverter/Program.cs, and MTKConverter/main.cxx.

◆ Size()