1 -- Created on: 1995-03-17
2 -- Created by: Dieter THIEMANN
3 -- Copyright (c) 1995-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
23 class WireframeBuilder from TopoDSToStep
24 inherits Root from TopoDSToStep
26 ---Purpose: This builder Class provides services to build
27 -- a ProSTEP Wireframemodel from a Cas.Cad BRep.
31 FinderProcess from Transfer,
35 Tool from TopoDSToStep,
36 BuilderError from TopoDSToStep,
37 HSequenceOfTransient from TColStd,
38 DataMapOfShapeTransient from MoniTool
40 raises NotDone from StdFail
44 -- -----------------------------------------------------------
46 -- -----------------------------------------------------------
48 Create returns WireframeBuilder from TopoDSToStep;
50 Create(S : Shape from TopoDS;
51 T : in out Tool from TopoDSToStep;
52 FP : mutable FinderProcess from Transfer)
53 returns WireframeBuilder from TopoDSToStep;
56 S : Shape from TopoDS;
57 T : in out Tool from TopoDSToStep;
58 FP : mutable FinderProcess from Transfer);
60 -- -----------------------------------------------------------
62 -- -----------------------------------------------------------
64 Error(me) returns BuilderError from TopoDSToStep;
66 Value (me) returns HSequenceOfTransient from TColStd
69 ---C++: return const &
71 -- Working methods (moved from TopoDSToGBWire)
73 GetTrimmedCurveFromEdge (me; E: Edge from TopoDS;
75 M: in out DataMapOfShapeTransient from MoniTool;
76 L: in out HSequenceOfTransient from TColStd)
77 returns Boolean from Standard;
78 --- Purpose: Extraction of Trimmed Curves from TopoDS_Edge for the
79 -- Creation of a GeometricallyBoundedWireframeRepresentation
81 GetTrimmedCurveFromFace (me; F: Face from TopoDS;
82 M: in out DataMapOfShapeTransient from MoniTool;
83 L: in out HSequenceOfTransient from TColStd)
84 returns Boolean from Standard;
85 --- Purpose: Extraction of Trimmed Curves from TopoDS_Face for the
86 -- Creation of a GeometricallyBoundedWireframeRepresentation
88 GetTrimmedCurveFromShape (me; S: Shape from TopoDS;
89 M: in out DataMapOfShapeTransient from MoniTool;
90 L: in out HSequenceOfTransient from TColStd)
91 returns Boolean from Standard;
92 --- Purpose: Extraction of Trimmed Curves from any TopoDS_Shape for the
93 -- Creation of a GeometricallyBoundedWireframeRepresentation
97 myResult : HSequenceOfTransient from TColStd;
99 myError : BuilderError from TopoDSToStep;
101 end WireframeBuilder;