CFx SDK Documentation  2022 SP0
DbRadialDimension.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_RADIAL_DIMENSION_
28 #define _OD_DB_RADIAL_DIMENSION_
29 
30 #include "TD_PackPush.h"
31 
32 #include "DbDimension.h"
33 
48 {
49 public:
51 
53 
54  /* OdDbRadialDimension(
55  const OdGePoint3d& center,
56  const OdGePoint3d& chordPoint,
57  double leaderLength,
58  const OdChar* dimText = 0,
59  OdDbObjectId dimStyle = OdDbObjectId::kNull);
60  */
61 
69  double leaderLength);
70 
75  double leaderLength() const;
76 
81 
86  void setCenter(
87  const OdGePoint3d& center);
88 
97 
108  const OdGePoint3d& chordPoint);
109 
115  bool extArcOn() const;
116 
122  double extArcStartAngle() const;
123 
129  void setExtArcStartAngle(double newAngle);
130 
136  double extArcEndAngle() const;
137 
143  void setExtArcEndAngle(double newAngle);
144 
146  OdDbDxfFiler* pFiler);
147 
148  virtual void dxfOutFields_R12(
149  OdDbDxfFiler* pFiler) const;
150 
152  OdDbDwgFiler* pFiler);
153 
154  virtual void dwgOutFields(
155  OdDbDwgFiler* pFiler) const;
156 
158  OdDbDxfFiler* pFiler);
159 
160  virtual void dxfOutFields(
161  OdDbDxfFiler* pFiler) const;
162 
164  void* pClsid) const;
165 };
166 
171 
172 #include "TD_PackPop.h"
173 
174 #endif
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdSmartPtr< OdDbRadialDimension > OdDbRadialDimensionPtr
OdResult
Definition: OdResult.h:29
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
void setLeaderLength(double leaderLength)
double extArcEndAngle() const
ODDB_DECLARE_MEMBERS(OdDbRadialDimension)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
void setChordPoint(const OdGePoint3d &chordPoint)
virtual OdResult subGetClassID(void *pClsid) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
bool extArcOn() const
void setExtArcStartAngle(double newAngle)
double leaderLength() const
void setCenter(const OdGePoint3d &center)
virtual void dxfOutFields_R12(OdDbDxfFiler *pFiler) const
virtual OdResult dxfInFields_R12(OdDbDxfFiler *pFiler)
void setExtArcEndAngle(double newAngle)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdGePoint3d chordPoint() const
double extArcStartAngle() const
OdGePoint3d center() const