
Wed, 01/27/2010 - 01:52
Forums:
Hi ALL,
What's different between TopTools_ListOfShape and TopoDS_ListOfShape?
TopTools_DataMapOfIntegerListOfShape takes TopTools_ListOfShape as second key. Why isn't it TopoDS_ListOfShape?
Thanks in advance for any help.
ZIYOO
Wed, 01/27/2010 - 12:57
Hi Ziyoo,
There's effectively no difference. Both are instantiations of TCollection_List with TopoDS_Shape. However since these are not true template instantiations (but are code generations from CDL language with different #define's), one cannot replace the other.
OCC sometimes abuses such duplications but in 6.3.1 the team had made an effort to eliminate much of these.
Hope this helps,
Roman
---
opencascade.blogspot.com - the Open CASCADE blog
www.cadexchanger.com - CAD Exchanger, your 3D data translator