CFx SDK Documentation  2020SP3
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
OdResult
OdResult
Definition: OdResult.h:29
OdDbOrdinateDimension::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbOrdinateDimension)
OdDbOrdinateDimensionPtr
OdSmartPtr< OdDbOrdinateDimension > OdDbOrdinateDimensionPtr
Definition: DbOrdinateDimension.h:164
OdDbOrdinateDimension::definingPoint
OdGePoint3d definingPoint() const
OdDbOrdinateDimension::useXAxis
void useXAxis()
TD_PackPop.h
OdDbOrdinateDimension::isUsingYAxis
bool isUsingYAxis() const
OdDbOrdinateDimension
Definition: DbOrdinateDimension.h:47
OdDbDimension
Definition: DbDimension.h:52
OdSmartPtr
Definition: SmartPtr.h:58
OdGePoint3d
Definition: GePoint3d.h:55
OdDbOrdinateDimension::setDefiningPoint
void setDefiningPoint(const OdGePoint3d &definingPoint)
OdDbOrdinateDimension::subGetClassID
virtual OdResult subGetClassID(void *pClsid) const
OdDbOrdinateDimension::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbOrdinateDimension::useYAxis
void useYAxis()
OdDbOrdinateDimension::OdDbOrdinateDimension
OdDbOrdinateDimension()
OdDbDxfFiler
Definition: DbFiler.h:194
OdDbOrdinateDimension::dxfInFields_R12
virtual OdResult dxfInFields_R12(OdDbDxfFiler *pFiler)
TD_PackPush.h
OdDbOrdinateDimension::isUsingXAxis
bool isUsingXAxis() const
OdDbOrdinateDimension::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbOrdinateDimension::origin
OdGePoint3d origin() const
OdDbOrdinateDimension::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbOrdinateDimension::leaderEndPoint
OdGePoint3d leaderEndPoint() const
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbOrdinateDimension::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbOrdinateDimension::setLeaderEndPoint
void setLeaderEndPoint(const OdGePoint3d &leaderEndPoint)
DbDimension.h
OdDbDwgFiler
Definition: DbFiler.h:1031
OdDbOrdinateDimension::dxfOutFields_R12
virtual void dxfOutFields_R12(OdDbDxfFiler *pFiler) const
OdDbOrdinateDimension::setOrigin
void setOrigin(const OdGePoint3d &origin)