CFx SDK Documentation  2020SP3
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
OdResult
OdResult
Definition: OdResult.h:29
OdDbRadialDimension::OdDbRadialDimension
OdDbRadialDimension()
OdDbRadialDimension::extArcStartAngle
double extArcStartAngle() const
OdDbRadialDimensionPtr
OdSmartPtr< OdDbRadialDimension > OdDbRadialDimensionPtr
Definition: DbRadialDimension.h:170
OdDbRadialDimension::leaderLength
double leaderLength() const
OdDbRadialDimension::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbRadialDimension::setChordPoint
void setChordPoint(const OdGePoint3d &chordPoint)
OdDbRadialDimension::extArcEndAngle
double extArcEndAngle() const
OdDbRadialDimension::dxfOutFields_R12
virtual void dxfOutFields_R12(OdDbDxfFiler *pFiler) const
TD_PackPop.h
OdDbRadialDimension::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbRadialDimension::setLeaderLength
void setLeaderLength(double leaderLength)
OdDbRadialDimension::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbRadialDimension::setExtArcStartAngle
void setExtArcStartAngle(double newAngle)
OdDbDimension
Definition: DbDimension.h:52
OdSmartPtr
Definition: SmartPtr.h:58
OdGePoint3d
Definition: GePoint3d.h:55
OdDbRadialDimension::setExtArcEndAngle
void setExtArcEndAngle(double newAngle)
OdDbRadialDimension::dxfInFields_R12
virtual OdResult dxfInFields_R12(OdDbDxfFiler *pFiler)
OdDbDxfFiler
Definition: DbFiler.h:194
TD_PackPush.h
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbRadialDimension::setCenter
void setCenter(const OdGePoint3d &center)
OdDbRadialDimension::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbRadialDimension)
OdDbRadialDimension
Definition: DbRadialDimension.h:48
DbDimension.h
OdDbRadialDimension::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbRadialDimension::center
OdGePoint3d center() const
OdDbRadialDimension::chordPoint
OdGePoint3d chordPoint() const
OdDbDwgFiler
Definition: DbFiler.h:1031
OdDbRadialDimension::extArcOn
bool extArcOn() const
OdDbRadialDimension::subGetClassID
virtual OdResult subGetClassID(void *pClsid) const