7fd59977 |
1 | -- File: BRepFill_EdgeOnSurfLaw.cdl |
2 | -- Created: Mon Jul 27 13:37:38 1998 |
3 | -- Author: Philippe MANGIN |
4 | -- <pmn@sgi29> |
5 | ---Copyright: Matra Datavision 1998 |
6 | |
7 | |
8 | class EdgeOnSurfLaw from BRepFill inherits LocationLaw from BRepFill |
9 | |
10 | ---Purpose: Build Location Law, with a Wire and a Surface. |
11 | |
12 | uses |
13 | Wire from TopoDS, |
14 | Shape from TopoDS |
15 | |
16 | is |
17 | Create (Path : Wire from TopoDS; |
18 | Surf : Shape from TopoDS) |
19 | returns EdgeOnSurfLaw from BRepFill; |
20 | |
21 | |
22 | HasResult(me) |
23 | ---Purpose: returns <False> if one Edge of <Path> do not have |
24 | -- representation on <Surf>. In this case it is |
25 | -- impossible to use this object. |
26 | returns Boolean; |
27 | |
28 | fields |
29 | hasresult : Boolean; |
30 | |
31 | end EdgeOnSurfLaw; |