CFx SDK Documentation  2023 SP0
DbOrdinateDimension.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 
25 
26 
27 #ifndef _OD_DB_ORDINATE_DIMENSION_
28 #define _OD_DB_ORDINATE_DIMENSION_
29 
30 #include "TD_PackPush.h"
31 
32 #include "DbDimension.h"
33 
47 {
48 public:
50 
52 
53  /* OdDbOrdinateDimension(
54  bool useXAxis,
55  const OdGePoint3d& definingPoint,
56  const OdGePoint3d& leaderEndPoint,
57  const OdChar* dimText = 0,
58  OdDbObjectId dimStyle = OdDbObjectId::kNull);
59  */
60 
66  bool isUsingXAxis() const;
67 
73  bool isUsingYAxis() const;
74 
80  void useXAxis();
81 
87  void useYAxis();
88 
96 
105  void setOrigin(
106  const OdGePoint3d& origin);
107 
114 
124  const OdGePoint3d& definingPoint);
125 
130 
137  const OdGePoint3d& leaderEndPoint);
138 
140  OdDbDxfFiler* pFiler);
141 
142  virtual void dxfOutFields_R12(
143  OdDbDxfFiler* pFiler) const;
144 
146  OdDbDwgFiler* pFiler);
147 
148  virtual void dwgOutFields(
149  OdDbDwgFiler* pFiler) const;
150 
152  OdDbDxfFiler* pFiler);
153 
154  virtual void dxfOutFields(
155  OdDbDxfFiler* pFiler) const;
156 
158  void* pClsid) const;
159 };
160 
165 
166 #include "TD_PackPop.h"
167 
168 #endif
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdSmartPtr< OdDbOrdinateDimension > OdDbOrdinateDimensionPtr
OdResult
Definition: OdResult.h:29
OdGePoint3d leaderEndPoint() const
virtual OdResult subGetClassID(void *pClsid) const
bool isUsingYAxis() const
OdGePoint3d definingPoint() const
OdGePoint3d origin() const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual OdResult dxfInFields_R12(OdDbDxfFiler *pFiler)
void setLeaderEndPoint(const OdGePoint3d &leaderEndPoint)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
bool isUsingXAxis() const
virtual void dxfOutFields_R12(OdDbDxfFiler *pFiler) const
void setDefiningPoint(const OdGePoint3d &definingPoint)
ODDB_DECLARE_MEMBERS(OdDbOrdinateDimension)
void setOrigin(const OdGePoint3d &origin)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const