| 1 | -- File: BRepAlgo_Cut.cdl |
| 2 | -- Created: Thu Oct 14 18:27:02 1993 |
| 3 | -- Author: Remi LEQUETTE |
| 4 | -- <rle@phylox> |
| 5 | ---Copyright: Matra Datavision 1993 |
| 6 | |
| 7 | |
| 8 | |
| 9 | class Cut from BRepAlgo inherits BooleanOperation from BRepAlgo |
| 10 | ---Purpose: Describes functions for performing a topological cut |
| 11 | -- operation (Boolean subtraction). |
| 12 | -- A Cut object provides the framework for: |
| 13 | -- - defining the construction of a cut shape, |
| 14 | -- - implementing the construction algorithm, and |
| 15 | -- - consulting the result. |
| 16 | |
| 17 | uses |
| 18 | Shape from TopoDS |
| 19 | |
| 20 | is |
| 21 | Create (S1,S2 : Shape from TopoDS) returns Cut from BRepAlgo; |
| 22 | ---Purpose: Cuts the shape S2 from the shape S1. |
| 23 | |
| 24 | end Cut; |