1 -- Created on: 1995-03-17
2 -- Created by: Dieter THIEMANN
3 -- Copyright (c) 1995-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class WireframeBuilder from TopoDSToStep
18 inherits Root from TopoDSToStep
20 ---Purpose: This builder Class provides services to build
21 -- a ProSTEP Wireframemodel from a Cas.Cad BRep.
25 FinderProcess from Transfer,
29 Tool from TopoDSToStep,
30 BuilderError from TopoDSToStep,
31 HSequenceOfTransient from TColStd,
32 DataMapOfShapeTransient from MoniTool
34 raises NotDone from StdFail
38 -- -----------------------------------------------------------
40 -- -----------------------------------------------------------
42 Create returns WireframeBuilder from TopoDSToStep;
44 Create(S : Shape from TopoDS;
45 T : in out Tool from TopoDSToStep;
46 FP : FinderProcess from Transfer)
47 returns WireframeBuilder from TopoDSToStep;
50 S : Shape from TopoDS;
51 T : in out Tool from TopoDSToStep;
52 FP : FinderProcess from Transfer);
54 -- -----------------------------------------------------------
56 -- -----------------------------------------------------------
58 Error(me) returns BuilderError from TopoDSToStep;
60 Value (me) returns HSequenceOfTransient from TColStd
63 ---C++: return const &
65 -- Working methods (moved from TopoDSToGBWire)
67 GetTrimmedCurveFromEdge (me; E: Edge from TopoDS;
69 M: in out DataMapOfShapeTransient from MoniTool;
70 L: in out HSequenceOfTransient from TColStd)
71 returns Boolean from Standard;
72 --- Purpose: Extraction of Trimmed Curves from TopoDS_Edge for the
73 -- Creation of a GeometricallyBoundedWireframeRepresentation
75 GetTrimmedCurveFromFace (me; F: Face from TopoDS;
76 M: in out DataMapOfShapeTransient from MoniTool;
77 L: in out HSequenceOfTransient from TColStd)
78 returns Boolean from Standard;
79 --- Purpose: Extraction of Trimmed Curves from TopoDS_Face for the
80 -- Creation of a GeometricallyBoundedWireframeRepresentation
82 GetTrimmedCurveFromShape (me; S: Shape from TopoDS;
83 M: in out DataMapOfShapeTransient from MoniTool;
84 L: in out HSequenceOfTransient from TColStd)
85 returns Boolean from Standard;
86 --- Purpose: Extraction of Trimmed Curves from any TopoDS_Shape for the
87 -- Creation of a GeometricallyBoundedWireframeRepresentation
91 myResult : HSequenceOfTransient from TColStd;
93 myError : BuilderError from TopoDSToStep;