CFx SDK Documentation  2020SP3
DbArcDimension.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 #ifndef _OD_DB_ARCDIMENSION_DIMENSION_
27 #define _OD_DB_ARCDIMENSION_DIMENSION_
28 
29 #include "TD_PackPush.h"
30 
31 #include "DbDimension.h"
32 
33 
46 {
47 public:
49 
51 
56 
61  void setArcPoint(const OdGePoint3d& arcPoint);
62 
70 
79  void setXLine1Point(const OdGePoint3d & xLine1Pt);
80 
88 
97  void setXLine2Point(const OdGePoint3d& xLine2Pt);
98 
105 
112  void setCenterPoint(const OdGePoint3d& centerPoint);
113 
117  bool isPartial() const;
122  void setIsPartial(const bool partial);
123 
127  double arcStartParam() const;
128 
133  void setArcStartParam(const double arcStartParam);
134 
135 
139  double arcEndParam() const;
140 
145  void setArcEndParam(const double arcEndParam);
146 
147 
151  bool hasLeader() const;
156  void setHasLeader(const bool hasLeader);
157 
166  void setLeader1Point(const OdGePoint3d& leader1Point);
167 
176  void setLeader2Point(const OdGePoint3d& leader2Point);
177 
192 
209  void setArcSymbolType(const OdInt16 arcSymbolType);
210 
212  OdDbDwgFiler* pFiler);
213 
214  virtual void dwgOutFields(
215  OdDbDwgFiler* pFiler) const;
216 
218  OdDbDxfFiler* pFiler);
219 
220  virtual void dxfOutFields(
221  OdDbDxfFiler* pFiler) const;
222 
224  void* pClsid) const;
225 
226  /*
227  OdDbArcDimension(
228  const OdGePoint3d& centerPoint,
229  const OdGePoint3d& xLine1Point,
230  const OdGePoint3d& xLine2Point,
231  const OdGePoint3d& arcPoint,
232  const OdString* dimText = NULL,
233  OdDbObjectId dimStyle = OdDbObjectId::kNull );
234  */
235 };
236 
241 
242 #include "TD_PackPop.h"
243 
244 #endif
OdDbArcDimension::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbArcDimension::setLeader1Point
void setLeader1Point(const OdGePoint3d &leader1Point)
OdResult
OdResult
Definition: OdResult.h:29
OdDbArcDimension::arcSymbolType
OdInt16 arcSymbolType() const
OdDbArcDimension::setArcEndParam
void setArcEndParam(const double arcEndParam)
OdDbArcDimension::setIsPartial
void setIsPartial(const bool partial)
OdDbArcDimension::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
TD_PackPop.h
OdDbArcDimension::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdInt16
short OdInt16
Definition: OdPlatformSettings.h:756
OdDbArcDimension::setArcStartParam
void setArcStartParam(const double arcStartParam)
OdDbArcDimension::setArcPoint
void setArcPoint(const OdGePoint3d &arcPoint)
OdDbArcDimension
Definition: DbArcDimension.h:46
OdDbArcDimension::setXLine2Point
void setXLine2Point(const OdGePoint3d &xLine2Pt)
OdDbDimension
Definition: DbDimension.h:52
OdDbArcDimension::arcEndParam
double arcEndParam() const
OdDbArcDimension::xLine2Point
OdGePoint3d xLine2Point() const
OdDbArcDimensionPtr
OdSmartPtr< OdDbArcDimension > OdDbArcDimensionPtr
Definition: DbArcDimension.h:240
OdSmartPtr
Definition: SmartPtr.h:58
OdGePoint3d
Definition: GePoint3d.h:55
OdDbArcDimension::arcPoint
OdGePoint3d arcPoint() const
OdDbArcDimension::xLine1Point
OdGePoint3d xLine1Point() const
OdDbArcDimension::leader1Point
OdGePoint3d leader1Point() const
OdDbArcDimension::isPartial
bool isPartial() const
OdDbArcDimension::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbArcDimension)
OdDbDxfFiler
Definition: DbFiler.h:194
TD_PackPush.h
OdDbArcDimension::setLeader2Point
void setLeader2Point(const OdGePoint3d &leader2Point)
OdDbArcDimension::hasLeader
bool hasLeader() const
OdDbArcDimension::setCenterPoint
void setCenterPoint(const OdGePoint3d &centerPoint)
OdDbArcDimension::setArcSymbolType
void setArcSymbolType(const OdInt16 arcSymbolType)
OdDbArcDimension::setXLine1Point
void setXLine1Point(const OdGePoint3d &xLine1Pt)
OdDbArcDimension::subGetClassID
virtual OdResult subGetClassID(void *pClsid) const
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbArcDimension::leader2Point
OdGePoint3d leader2Point() const
OdDbArcDimension::setHasLeader
void setHasLeader(const bool hasLeader)
OdDbArcDimension::arcStartParam
double arcStartParam() const
DbDimension.h
OdDbArcDimension::centerPoint
OdGePoint3d centerPoint() const
OdDbDwgFiler
Definition: DbFiler.h:1031
OdDbArcDimension::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbArcDimension::OdDbArcDimension
OdDbArcDimension()