0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / src / IGESGeom / IGESGeom_ToolConicArc.hxx
1 // Created on: 1993-10-14
2 // Created by: Christian CAILLET
3 // Copyright (c) 1993-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
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.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #ifndef _IGESGeom_ToolConicArc_HeaderFile
18 #define _IGESGeom_ToolConicArc_HeaderFile
19
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
23
24 #include <Standard_Integer.hxx>
25 class IGESGeom_ConicArc;
26 class IGESData_IGESReaderData;
27 class IGESData_ParamReader;
28 class IGESData_IGESWriter;
29 class Interface_EntityIterator;
30 class IGESData_DirChecker;
31 class Interface_ShareTool;
32 class Interface_Check;
33 class Interface_CopyTool;
34 class IGESData_IGESDumper;
35
36 //! Tool to work on a ConicArc. Called by various Modules
37 //! (ReadWriteModule, GeneralModule, SpecificModule)
38 class IGESGeom_ToolConicArc 
39 {
40 public:
41
42   DEFINE_STANDARD_ALLOC
43
44   
45   //! Returns a ToolConicArc, ready to work
46   Standard_EXPORT IGESGeom_ToolConicArc();
47   
48   //! Reads own parameters from file. <PR> gives access to them,
49   //! <IR> detains parameter types and values
50   Standard_EXPORT void ReadOwnParams (const Handle(IGESGeom_ConicArc)& ent, const Handle(IGESData_IGESReaderData)& IR, IGESData_ParamReader& PR) const;
51   
52   //! Writes own parameters to IGESWriter
53   Standard_EXPORT void WriteOwnParams (const Handle(IGESGeom_ConicArc)& ent, IGESData_IGESWriter& IW) const;
54   
55   //! Lists the Entities shared by a ConicArc <ent>, from
56   //! its specific (own) parameters
57   Standard_EXPORT void OwnShared (const Handle(IGESGeom_ConicArc)& ent, Interface_EntityIterator& iter) const;
58   
59   //! Sets automatic unambiguous Correction on a ConicArc
60   //! (FormNumber recomputed according case Ellips-Parab-Hyperb)
61   Standard_EXPORT Standard_Boolean OwnCorrect (const Handle(IGESGeom_ConicArc)& ent) const;
62   
63   //! Returns specific DirChecker
64   Standard_EXPORT IGESData_DirChecker DirChecker (const Handle(IGESGeom_ConicArc)& ent) const;
65   
66   //! Performs Specific Semantic Check
67   Standard_EXPORT void OwnCheck (const Handle(IGESGeom_ConicArc)& ent, const Interface_ShareTool& shares, Handle(Interface_Check)& ach) const;
68   
69   //! Copies Specific Parameters
70   Standard_EXPORT void OwnCopy (const Handle(IGESGeom_ConicArc)& entfrom, const Handle(IGESGeom_ConicArc)& entto, Interface_CopyTool& TC) const;
71   
72   //! Dump of Specific Parameters
73   Standard_EXPORT void OwnDump (const Handle(IGESGeom_ConicArc)& ent, const IGESData_IGESDumper& dumper, Standard_OStream& S, const Standard_Integer own) const;
74
75
76
77
78 protected:
79
80
81
82
83
84 private:
85
86
87
88
89
90 };
91
92
93
94
95
96
97
98 #endif // _IGESGeom_ToolConicArc_HeaderFile