CFx SDK Documentation  2020SP3
GeDxfIO.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 #ifndef OD_GE_DXF_IO_H_
25 #define OD_GE_DXF_IO_H_
26 
27 #include "Ge/GeLineSeg3d.h"
28 #include "Ge/GeEllipArc3d.h"
29 #include "Ge/GeCircArc3d.h"
30 #include "Ge/GeNurbCurve3d.h"
31 #include "Ge/GeCompositeCurve3d.h"
32 //#include "Ge/GeLibVersion.h"
33 
34 class OdDbDxfFiler;
35 
44 {
45 public:
46 
47  //static void outFields(OdDbDxfFiler* pFiler, const OdGePoint2d& object);
48  //static void outFields(OdDbDxfFiler* pFiler, const OdGeVector2d& object);
49  //static void outFields(OdDbDxfFiler* pFiler, const OdGeMatrix2d& object);
50  //static void outFields(OdDbDxfFiler* pFiler, const OdGeScale2d& object);
51  //static void outFields(OdDbDxfFiler* pFiler, const OdGePoint2dArray& object);
52  //static void outFields(OdDbDxfFiler* pFiler, const OdGeVector2dArray& object);
53  //static void outFields(OdDbDxfFiler* pFiler, const OdGePoint3d& object);
54  //static void outFields(OdDbDxfFiler* pFiler, const OdGeVector3d& object);
55  //static void outFields(OdDbDxfFiler* pFiler, const OdGeMatrix3d& object);
56  //static void outFields(OdDbDxfFiler* pFiler, const OdGeScale3d& object);
57  //static void outFields(OdDbDxfFiler* pFiler, const OdGePoint3dArray& object);
58  //static void outFields(OdDbDxfFiler* pFiler, const OdGeVector3dArray& object);
59  //static void outFields(OdDbDxfFiler* pFiler, const OdGeTol& object);
60  //static void outFields(OdDbDxfFiler* pFiler, const OdGeInterval& object);
61  //static void outFields(OdDbDxfFiler* pFiler, const OdGeKnotVector& object);
62  //static void outFields(OdDbDxfFiler* pFiler, const OdGeDoubleArray& object);
63  //static void outFields(OdDbDxfFiler* pFiler, const OdIntArray& object);
64  //static void outFields(OdDbDxfFiler* pFiler, const OdGeCurveBoundary& object);
65  //static void outFields(OdDbDxfFiler* pFiler, const OdGePosition2d& object);
66  //static void outFields(OdDbDxfFiler* pFiler, const OdGePointOnCurve2d& object);
67  //static void outFields(OdDbDxfFiler* pFiler, const OdGeLine2d& object);
68  //static void outFields(OdDbDxfFiler* pFiler, const OdGeLineSeg2d& object);
69  //static void outFields(OdDbDxfFiler* pFiler, const OdGeRay2d& object);
70  //static void outFields(OdDbDxfFiler* pFiler, const OdGeCircArc2d& object);
71  //static void outFields(OdDbDxfFiler* pFiler, const OdGeEllipArc2d& object);
72  //static void outFields(OdDbDxfFiler* pFiler, const OdGeExternalCurve2d& object);
73  //static void outFields(OdDbDxfFiler* pFiler, const OdGeCubicSplineCurve2d& object);
74  //static void outFields(OdDbDxfFiler* pFiler, const OdGeNurbCurve2d& object);
75  //static void outFields(OdDbDxfFiler* pFiler, const OdGeCompositeCurve2d& object);
76  //static void outFields(OdDbDxfFiler* pFiler, const OdGeOffsetCurve2d& object);
77  //static void outFields(OdDbDxfFiler* pFiler, const OdGeSegmentChain2d& object);
78  //static void outFields(OdDbDxfFiler* pFiler, const OdGePosition3d& object);
79  //static void outFields(OdDbDxfFiler* pFiler, const OdGePointOnCurve3d& object);
80  //static void outFields(OdDbDxfFiler* pFiler, const OdGePointOnSurface& object);
81 
88  static void outFields(OdDbDxfFiler* pFiler, const OdGeLine3d& object);
89 
90  //static void outFields(OdDbDxfFiler* pFiler, const OdGeRay3d& object);
91 
98  static void outFields(OdDbDxfFiler* pFiler, const OdGeLineSeg3d& object);
99 
100  //static void outFields(OdDbDxfFiler* pFiler, const OdGePlane& object);
101  //static void outFields(OdDbDxfFiler* pFiler, const OdGeBoundedPlane& object);
102 
109  static void outFields(OdDbDxfFiler* pFiler, const OdGeCircArc3d& object);
110 
117  static void outFields(OdDbDxfFiler* pFiler, const OdGeEllipArc3d& object);
118 
119  //static void outFields(OdDbDxfFiler* pFiler, const OdGeCubicSplineCurve3d& object);
120 
127  static void outFields(OdDbDxfFiler* pFiler, const OdGeNurbCurve3d& object);
128 
135  static void outFields(OdDbDxfFiler* pFiler, const OdGeCompositeCurve3d& object);
136 
137  //static void outFields(OdDbDxfFiler* pFiler, const OdGeOffsetCurve3d& object);
138  //static void outFields(OdDbDxfFiler* pFiler, const OdGePolyline3d& object);
139  //static void outFields(OdDbDxfFiler* pFiler, const OdGeAugPolyline3d& object);
140  //static void outFields(OdDbDxfFiler* pFiler, const OdGeExternalCurve3d& object);
141  //static void outFields(OdDbDxfFiler* pFiler, const OdGeCone& object);
142  //static void outFields(OdDbDxfFiler* pFiler, const OdGeEllipCone& object); // AE 03.09.2003
143  //static void outFields(OdDbDxfFiler* pFiler, const OdGeCylinder& object);
144  //static void outFields(OdDbDxfFiler* pFiler, const OdGeEllipCylinder& object); // AE 09.09.2003
145  //static void outFields(OdDbDxfFiler* pFiler, const OdGeTorus& object);
146  //static void outFields(OdDbDxfFiler* pFiler, const OdGeExternalSurface& object);
147  //static void outFields(OdDbDxfFiler* pFiler, const OdGeOffsetSurface& object);
148  //static void outFields(OdDbDxfFiler* pFiler, const OdGeNurbSurface& object);
149  //static void outFields(OdDbDxfFiler* pFiler,const OdGeExternalBoundedSurface& object);
150  //static void outFields(OdDbDxfFiler* pFiler, const OdGeSphere& object);
151  //static void outFields(OdDbDxfFiler* pFiler, const OdGeBoundBlock2d& object);
152  //static void outFields(OdDbDxfFiler* pFiler, const OdGeBoundBlock3d& object);
153  //static void outFields(OdDbDxfFiler* pFiler, const OdGeCurveCurveInt2d& object);
154  //static void outFields(OdDbDxfFiler* pFiler, const OdGeCurveCurveInt3d& object);
155 
156 
157  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGePoint2d& object);
158  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeVector2d& object);
159  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeMatrix2d& object);
160  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeScale2d& object);
161  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGePoint2dArray& object);
162  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeVector2dArray& object);
163  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGePoint3d& object);
164  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeVector3d& object);
165  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeMatrix3d& object);
166  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeScale3d& object);
167  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGePoint3dArray& object);
168  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeVector3dArray& object);
169  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeTol& object);
170  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeInterval& object);
171  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeKnotVector& object);
172  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeDoubleArray& object);
173  //static OdResult inFields(OdDbDxfFiler* pFiler, OdIntArray& object);
174  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeCurveBoundary& object);
175  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGePosition2d& object);
176  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGePointOnCurve2d& object);
177  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeLine2d& object);
178  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeLineSeg2d& object);
179  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeRay2d& object);
180  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeCircArc2d& object);
181  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeEllipArc2d& object);
182  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeExternalCurve2d& object);
183  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeCubicSplineCurve2d& object);
184  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeNurbCurve2d& object);
185  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeCompositeCurve2d& object);
186  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeOffsetCurve2d& object);
187  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeSegmentChain2d& object);
188  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGePosition3d& object);
189  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGePointOnCurve3d& object);
190  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGePointOnSurface& object);
191 
198  static OdResult inFields(OdDbDxfFiler* pFiler, OdGeLine3d& object);
199 
200  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeRay3d& object);
201 
208  static OdResult inFields(OdDbDxfFiler* pFiler, OdGeLineSeg3d& object);
209 
210  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGePlane& object);
211  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeBoundedPlane& object);
212 
219  static OdResult inFields(OdDbDxfFiler* pFiler, OdGeCircArc3d& object);
220 
227  static OdResult inFields(OdDbDxfFiler* pFiler, OdGeEllipArc3d& object);
228 
229  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeCubicSplineCurve3d& object);
230 
237  static OdResult inFields(OdDbDxfFiler* pFiler, OdGeNurbCurve3d& object);
238 
246 
247  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeOffsetCurve3d& object);
248  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGePolyline3d& object);
249  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeAugPolyline3d& object);
250  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeExternalCurve3d& object);
251  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeCone& object);
252  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeEllipCone& object); // AE 03.09.2003
253  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeCylinder& object);
254  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeEllipCylinder& object); // AE 09.09.2003
255  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeTorus& object);
256  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeExternalSurface& object);
257  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeOffsetSurface& object);
258  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeNurbSurface& object);
259  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeExternalBoundedSurface& object);
260  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeSphere& object);
261  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeBoundBlock2d& object);
262  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeBoundBlock3d& object);
263  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeCurveCurveInt2d& object);
264  //static OdResult inFields(OdDbDxfFiler* pFiler, OdGeCurveCurveInt3d& object);
265 
266  //static const OdGeLibVersion OdGeDxfIOVersion;
267 };
268 
269 #endif // OD_GE_DXF_IO_H_
270 
OdGeLine3d
Definition: GeLine3d.h:43
OdResult
OdResult
Definition: OdResult.h:29
OdGeDxfIO::inFields
static OdResult inFields(OdDbDxfFiler *pFiler, OdGeEllipArc3d &object)
GeCircArc3d.h
GeLineSeg3d.h
OdGeDxfIO::outFields
static void outFields(OdDbDxfFiler *pFiler, const OdGeCompositeCurve3d &object)
OdGeDxfIO
Definition: GeDxfIO.h:44
GeEllipArc3d.h
OdGeEllipArc3d
Definition: GeEllipArc3d.h:60
OdGeDxfIO::inFields
static OdResult inFields(OdDbDxfFiler *pFiler, OdGeLineSeg3d &object)
OdGeDxfIO::inFields
static OdResult inFields(OdDbDxfFiler *pFiler, OdGeCircArc3d &object)
OdGeCompositeCurve3d
Definition: GeCompositeCurve3d.h:54
OdDbDxfFiler
Definition: DbFiler.h:194
OdGeNurbCurve3d
Definition: GeNurbCurve3d.h:49
OdGeDxfIO::outFields
static void outFields(OdDbDxfFiler *pFiler, const OdGeLineSeg3d &object)
OdGeDxfIO::outFields
static void outFields(OdDbDxfFiler *pFiler, const OdGeLine3d &object)
GeNurbCurve3d.h
GeCompositeCurve3d.h
OdGeDxfIO::outFields
static void outFields(OdDbDxfFiler *pFiler, const OdGeEllipArc3d &object)
OdGeLineSeg3d
Definition: GeLineSeg3d.h:44
OdGeDxfIO::inFields
static OdResult inFields(OdDbDxfFiler *pFiler, OdGeLine3d &object)
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdGeDxfIO::outFields
static void outFields(OdDbDxfFiler *pFiler, const OdGeNurbCurve3d &object)
OdGeCircArc3d
Definition: GeCircArc3d.h:48
OdGeDxfIO::outFields
static void outFields(OdDbDxfFiler *pFiler, const OdGeCircArc3d &object)
OdGeDxfIO::inFields
static OdResult inFields(OdDbDxfFiler *pFiler, OdGeNurbCurve3d &object)
OdGeDxfIO::inFields
static OdResult inFields(OdDbDxfFiler *pFiler, OdGeCompositeCurve3d &object)