CFx SDK Documentation  2023 SP0
DbRotatedDimension.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 _DB_ROTATED_DIMENSION_
28 #define _DB_ROTATED_DIMENSION_
29 
30 #include "TD_PackPush.h"
31 
32 #include "DbDimension.h"
33 
47 {
48 public:
50 
52 
53  /* OdDbRotatedDimension(
54  double rotation,
55  const OdGePoint3d& xLine1Point,
56  const OdGePoint3d& xLine2Point,
57  const OdGePoint3d& dimLinePoint,
58  const OdChar* dimText = 0,
59  OdDbObjectId dimStyle = OdDbObjectId::kNull);
60  */
61 
70 
81  const OdGePoint3d& xLine1Point);
82 
91 
102  const OdGePoint3d& xLine2Point);
103 
108 
115  const OdGePoint3d& dimLinePoint);
116 
123  double oblique() const;
124 
134  double oblique);
135 
146  double rotation() const;
147 
160  void setRotation(double rotation);
161 
168  bool jogSymbolOn() const;
169 
175  void setJogSymbolOn(bool value);
176 
184 
191 
198  double jogSymbolHeight();
199 
205  void setJogSymbolHeight(double value);
206 
208  OdDbDxfFiler* pFiler);
209 
210  virtual void dxfOutFields_R12(
211  OdDbDxfFiler* pFiler) const;
212 
214  OdDbDwgFiler* pFiler);
215 
216  virtual void dwgOutFields(
217  OdDbDwgFiler* pFiler) const;
218 
220  OdDbDxfFiler* pFiler);
221 
222  virtual void dxfOutFields(
223  OdDbDxfFiler* pFiler) const;
224 
226  void* pClsid) const;
227 };
228 
233 
234 #include "TD_PackPop.h"
235 
236 #endif
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdSmartPtr< OdDbRotatedDimension > OdDbRotatedDimensionPtr
OdResult
Definition: OdResult.h:29
ODDB_DECLARE_MEMBERS(OdDbRotatedDimension)
double rotation() const
void setJogSymbolOn(bool value)
OdGePoint3d dimLinePoint() const
OdGePoint3d xLine1Point() const
bool jogSymbolOn() const
OdGePoint3d xLine2Point() const
virtual void dxfOutFields_R12(OdDbDxfFiler *pFiler) const
void setJogSymbolPosition(const OdGePoint3d &pt)
virtual OdResult subGetClassID(void *pClsid) const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
void setXLine2Point(const OdGePoint3d &xLine2Point)
void setRotation(double rotation)
double oblique() const
void setOblique(double oblique)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
void setJogSymbolHeight(double value)
void setDimLinePoint(const OdGePoint3d &dimLinePoint)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdGePoint3d jogSymbolPosition() const
virtual OdResult dxfInFields_R12(OdDbDxfFiler *pFiler)
void setXLine1Point(const OdGePoint3d &xLine1Point)
GLsizei const GLfloat * value
Definition: gles2_ext.h:302