
Mon, 01/22/2024 - 17:47
Forums:
Hello,
while upgrading from 7.5.0 to 7.8.0 we no longer find the collection AIS_SequenceOfInteractive available.
While it could easily be restored, I'm asking the reason of such a deletion!
It has be found to be not efficient or something else?
Do you have any suggestion for its replacement?
Thanks a lot,
Federico Pelloni
Tue, 01/23/2024 - 15:52
Semantic of
NCollection_Sequence
with an interface for accessing elements in list-alike structure by index is misleading and dangerous. Hense, it's usage is discouraged in OCCT and within applications.NCollection_List
orstd::vector
are better suits.Of course you may still define sequence on your own, if you prefer using it for some reason (like preserving legacy code as is).
Tue, 01/23/2024 - 19:54
Ok, thanks for your answer!
Regards,
Federico Pelloni