CFx SDK Documentation  2023 SP0
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
OdSmartPtr< OdDbArcDimension > OdDbArcDimensionPtr
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
short OdInt16
OdResult
Definition: OdResult.h:29
OdGePoint3d arcPoint() const
virtual OdResult subGetClassID(void *pClsid) const
void setCenterPoint(const OdGePoint3d &centerPoint)
bool isPartial() const
OdGePoint3d xLine2Point() const
void setLeader1Point(const OdGePoint3d &leader1Point)
OdGePoint3d leader1Point() const
void setXLine2Point(const OdGePoint3d &xLine2Pt)
void setArcPoint(const OdGePoint3d &arcPoint)
void setHasLeader(const bool hasLeader)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdGePoint3d xLine1Point() const
void setArcStartParam(const double arcStartParam)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
bool hasLeader() const
OdGePoint3d leader2Point() const
void setXLine1Point(const OdGePoint3d &xLine1Pt)
void setArcSymbolType(const OdInt16 arcSymbolType)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdInt16 arcSymbolType() const
double arcStartParam() const
ODDB_DECLARE_MEMBERS(OdDbArcDimension)
OdGePoint3d centerPoint() const
void setIsPartial(const bool partial)
void setLeader2Point(const OdGePoint3d &leader2Point)
void setArcEndParam(const double arcEndParam)
double arcEndParam() const