The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



DataContainer


Unit:SDL_rot3d
Class:TRot3D
Declaration:property DataContainer[idx: longint]: Tr3ChartItem

Drawing primitives (also dubbed "chart items" in this help file) such as lines or marks are stored in a dynamic array of the base type array of Tr3ChartItem. The array of chart items is accessible via the array property DataContainer. The index of the array may take values between 0 (the first element) and NumItems-1 (the last item).

Hint 1: With release 8.0 of the SDL Component Suite the data model of ROT3D has been changed from a linked list to the dynamic array DataContainer. This switch to an array based storage has several advantages, one of them being direct and quick accessibility of the chart data. The data can be accessed simply by addressing the array property DataContainer. A drawback of this change is the increased storage requirements (factor 3 on the average).

Hint 2: In the Light Edition the max. number of chart elements is restricted to 250.



Last Update: 2012-Oct-20