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.
55 ---Purpose: A box parallel to the main axes.
57 class Array1OfBox instantiates Array1 from TCollection
59 class HArray1OfBox instantiates HArray1 from TCollection
61 Array1OfBox from Bnd);
64 class Array1OfSphere instantiates Array1 from TCollection
66 class HArray1OfSphere instantiates HArray1 from TCollection
68 Array1OfSphere from Bnd);
72 ---Purpose: A rectangle parallel to the main axes.
74 class Array1OfBox2d instantiates Array1 from TCollection
76 class HArray1OfBox2d instantiates HArray1 from TCollection
78 Array1OfBox2d from Bnd);
82 ---Purpose: A tool to sort a set of Box2d and compare with an
83 -- other Box2d to find the list of touched items.
87 ---Purpose: A tool to sort a set of Box and compare with an
88 -- other Box to find the list of touched items.
91 class SeqOfBox instantiates Sequence from TCollection (Box from Bnd);
92 ---Purpose: This sequence used to store the bounding boxes of sub-Shapes.
94 --- Optimized boxes (no Gap, no infinity supported)
98 class B2d instantiates B2x from Bnd (Real from Standard);
99 -- 2D box with double-precision coordinates
101 class B2f instantiates B2x from Bnd (ShortReal from Standard);
102 -- 2D box with single-precision coordinates
104 class B3d instantiates B3x from Bnd (Real from Standard);
105 -- 3D box with double-precision coordinates
107 class B3f instantiates B3x from Bnd (ShortReal from Standard);
108 -- 3D box with single-precision coordinates