![]() |
AddSorted (class MKI_IDENTDATA) New in Version 2023.2 |
www.CAD6.com |
C++ Syntaxbool MKI_IDENTDATA::AddSorted( MKI_CONST_GEO_OBJECT_REF f_rGeoObject );
Adds a new object to a sorted list pointed to by m_pList. It will be added based on its distance stored in m_dLen with the smallest value first. If the list is full according to m_nCount and m_nMax, the entry with the largest of m_dLen will be discarded.
Return ValueReturns true if the new object had the smallest value of m_dLen in the whole list, i.e. it was inserted at the beginning (index 0).
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH