blob: 7841d4432ba5e9d5cd9bbd1a04b8799126cce0a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
-- File: BRepBuilderAPI_Copy.cdl
-- Created: Mon Dec 12 12:10:47 1994
-- Author: Jacques GOUSSARD
-- <jag@topsn2>
---Copyright: Matra Datavision 1994
class Copy from BRepBuilderAPI inherits ModifyShape from BRepBuilderAPI
---Purpose: Duplication of a shape.
-- A Copy object provides a framework for:
-- - defining the construction of a duplicate shape,
-- - implementing the construction algorithm, and
-- - consulting the result.
uses
Shape from TopoDS,
Face from TopoDS,
ShapeModification from BRepBuilderAPI,
ListOfShape from TopTools
is
Create
---Purpose: Constructs an empty copy framework. Use the function
-- Perform to copy shapes.
returns Copy from BRepBuilderAPI;
Create(S: Shape from TopoDS; copyGeom: Boolean = Standard_True)
---Purpose: Constructs a copy framework and copies the shape S.
-- Use the function Shape to access the result.
-- If copyGeom is False, only topological objects will be copied, while
-- geometry will be shared with original shape.
-- Note: the constructed framework can be reused to copy
-- other shapes: just specify them with the function Perform.
returns Copy from BRepBuilderAPI;
Perform(me: in out; S: Shape from TopoDS; copyGeom: Boolean = Standard_True)
---Purpose: Copies the shape S.
-- Use the function Shape to access the result.
-- If copyGeom is False, only topological objects will be copied, while
-- geometry will be shared with original shape.
is static;
end Copy;
|