7fd59977 |
1 | -- File: BRepClass3d_SolidClassifier.cdl |
2 | -- Created: Wed Mar 30 18:28:29 1994 |
3 | -- Author: Laurent BUCHARD |
4 | -- <lbr@fuegox> |
5 | ---Copyright: Matra Datavision 1994 |
6 | |
7 | |
8 | |
9 | |
10 | class SolidClassifier from BRepClass3d inherits SClassifier from BRepClass3d |
11 | |
12 | ---Purpose: Provides an algorithm to classify a point in a solid. |
13 | |
14 | |
15 | |
16 | uses |
17 | Pnt from gp, |
18 | Face from TopoDS, |
19 | Shape from TopoDS, |
20 | SolidExplorer from BRepClass3d |
21 | |
22 | raises |
23 | |
24 | DomainError from Standard |
25 | |
26 | is |
27 | |
28 | |
29 | Create |
30 | ---Purpose : empty constructor |
31 | returns SolidClassifier from BRepClass3d; |
32 | |
33 | Load(me:in out; S : Shape from TopoDS) |
34 | is static; |
35 | |
36 | |
37 | Create(S : Shape from TopoDS) |
38 | ---Purpose: Constructor from a Shape. |
39 | returns SolidClassifier from BRepClass3d; |
40 | |
41 | |
42 | Create(S : Shape from TopoDS; |
43 | P : Pnt from gp; |
44 | Tol : Real from Standard) |
45 | ---Purpose: Constructor to classify the point P with the |
46 | -- tolerance Tol on the solid S. |
47 | returns SolidClassifier from BRepClass3d; |
48 | |
49 | |
50 | Perform(me: in out; |
51 | P : Pnt from gp; |
52 | Tol : Real from Standard) |
53 | ---Purpose: Classify the point P with the |
54 | -- tolerance Tol on the solid S. |
55 | is static; |
56 | |
57 | PerformInfinitePoint(me: in out; |
58 | Tol : Real from Standard) |
59 | ---Purpose: Classify an infinite point with the |
60 | -- tolerance Tol on the solid S. |
61 | -- Useful for compute the orientation of a solid. |
62 | is static; |
63 | |
64 | Destroy(me:in out) |
65 | ---C++: alias ~ |
66 | is static; |
67 | |
68 | |
69 | fields |
70 | aSolidLoaded : Boolean from Standard; |
71 | explorer : SolidExplorer from BRepClass3d; |
72 | isaholeinspace : Boolean from Standard; |
73 | end SolidClassifier; |