b311480e |
1 | -- Created on: 1995-01-23 |
2 | -- Created by: Mister rmi |
3 | -- Copyright (c) 1995-1999 Matra Datavision |
4 | -- Copyright (c) 1999-2012 OPEN CASCADE SAS |
5 | -- |
6 | -- The content of this file is subject to the Open CASCADE Technology Public |
7 | -- License Version 6.5 (the "License"). You may not use the content of this file |
8 | -- except in compliance with the License. Please obtain a copy of the License |
9 | -- at http://www.opencascade.org and read it completely before using this file. |
10 | -- |
11 | -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
12 | -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
13 | -- |
14 | -- The Original Code and all software distributed under the License is |
15 | -- distributed on an "AS IS" basis, without warranty of any kind, and the |
16 | -- Initial Developer hereby disclaims all such warranties, including without |
17 | -- limitation, any warranties of merchantability, fitness for a particular |
18 | -- purpose or non-infringement. Please see the License for the specific terms |
19 | -- and conditions governing the rights and limitations under the License. |
20 | |
7fd59977 |
21 | |
22 | |
23 | package SelectBasics |
24 | |
25 | ---Purpose: kernel of dynamic selection: |
26 | -- - contains the algorithm to sort the sensitive areas |
27 | -- before the selection action;->quick selection of |
28 | -- an item in a set of items... |
29 | -- - contains the entities able to give the algorithm |
30 | -- sensitive areas . |
31 | |
32 | uses |
33 | Bnd, |
34 | TCollection, |
35 | TColStd, |
36 | Standard, |
37 | MMgt, |
38 | gp, |
39 | TColgp, |
40 | TopLoc |
41 | |
42 | |
43 | is |
44 | |
45 | |
46 | deferred class EntityOwner; |
47 | ---Purpose: entity able to set multiple owners for a SensitiveEntity; |
48 | |
49 | class SortAlgo; |
50 | ---Purpose: sort algorithm for 2D rectangles. |
51 | |
52 | class BasicTool; |
53 | ---Purpose: give Tools for sorting Selection results |
54 | -- (example : sensitive entities matching) |
55 | |
56 | class ListOfBox2d instantiates List from TCollection |
57 | (Box2d from Bnd); |
58 | |
59 | |
60 | class SequenceOfOwner instantiates Sequence from TCollection |
61 | (EntityOwner); |
62 | |
63 | |
64 | |
65 | deferred class SensitiveEntity; |
66 | ---Purpose: general entity able to give sensitive areas |
67 | |
68 | |
69 | class ListOfSensitive instantiates List from TCollection |
70 | (SensitiveEntity); |
71 | |
4269bd1b |
72 | imported PickArgs; |
73 | ---Purpose: Structure to provide all-in-one information on picking arguments |
74 | -- for "Matches" method of SelectBasics_SensitiveEntity. |
7fd59977 |
75 | |
76 | MaxOwnerPriority returns Integer; |
77 | |
78 | MinOwnerPriority returns Integer; |
79 | |
80 | |
81 | end SelectBasics; |