2 -- Created: Tue Jan 8 09:53:22 1991
3 -- Author: Didier Piffault
5 ---Copyright: Matra Datavision 1991, 1992
6 --- Modified by hl1 (juillet 96) : ajout de SeqOfBox
11 --------------------------------------------------------
12 --- I n f o r m a t i o n ---
14 --- The Bnd_Tool class is now in the package Intf. ---
15 --------------------------------------------------------
23 ---Purpose: Supports the Boundings Volumes. A Bounding Volume
24 -- is used to bound a shape to optimising algorithms.
25 -- If a point is outside the Bounding Volume of a
26 -- shape it is also outside the shape. The contrary
27 -- is not necessarily true.
29 -- Various classes are then implemented to describe
30 -- the usual Bounding volumes. Not all classes are
35 -- BoundSortBox -- Implemented
38 -- Box2d -- Implemented
39 -- BoundSortBox2d -- Implemented
44 -- All methods of all classes will be public.
54 ---Purpose: A box parallel to the main axes.
56 class Array1OfBox instantiates Array1 from TCollection
58 class HArray1OfBox instantiates HArray1 from TCollection
60 Array1OfBox from Bnd);
64 ---Purpose: A rectangle parallel to the main axes.
66 class Array1OfBox2d instantiates Array1 from TCollection
68 class HArray1OfBox2d instantiates HArray1 from TCollection
70 Array1OfBox2d from Bnd);
74 ---Purpose: A tool to sort a set of Box2d and compare with an
75 -- other Box2d to find the list of touched items.
79 ---Purpose: A tool to sort a set of Box and compare with an
80 -- other Box to find the list of touched items.
83 class SeqOfBox instantiates Sequence from TCollection (Box from Bnd);
84 ---Purpose: This sequence used to store the bounding boxes of sub-Shapes.
86 --- Optimized boxes (no Gap, no infinity supported)
90 class B2d instantiates B2x from Bnd (Real from Standard);
91 -- 2D box with double-precision coordinates
93 class B2f instantiates B2x from Bnd (ShortReal from Standard);
94 -- 2D box with single-precision coordinates
96 class B3d instantiates B3x from Bnd (Real from Standard);
97 -- 3D box with double-precision coordinates
99 class B3f instantiates B3x from Bnd (ShortReal from Standard);
100 -- 3D box with single-precision coordinates