Compares features depending on their type and parameters. More...
Public Member Functions | |
| MTKBase_FeatureComparator (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| MTKBase_FeatureComparator () | |
| Constructor. | |
| MTKBase_FeatureComparator (double theDoubleParameterPrecision) | |
| Constructor. | |
| bool | Apply (cadex.MTKBase_Feature theA, cadex.MTKBase_Feature theB) |
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) |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
Compares features depending on their type and parameters.
This class compares features by type and for features of the same type their parameters (length, width, radius, etc.) using less relation by already predefined rules. Therefore, this comparator can be used in ordered containers.
|
inline |
Constructor.
Comparision of feature parameters will occur with a default tolerance of 1.e-5.
|
inline |
Constructor.
Comparision of feature parameters will occur with a tolerance of theDoubleParameterPrecision .
|
inlineprotectedvirtual |
Reimplemented from cadex.BaseObject.