CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbOrdinateDimension.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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_ORDINATE_DIMENSION_
28#define _OD_DB_ORDINATE_DIMENSION_
29
30#include "TD_PackPush.h"
31
32#include "DbDimension.h"
33#include "DwgDeclareMembers.h"
34
46{
47public:
49
51
52 /* OdDbOrdinateDimension(
53 bool useXAxis,
54 const OdGePoint3d& definingPoint,
55 const OdGePoint3d& leaderEndPoint,
56 const OdChar* dimText = 0,
57 OdDbObjectId dimStyle = OdDbObjectId::kNull);
58 */
59
65 bool isUsingXAxis() const;
66
72 bool isUsingYAxis() const;
73
79 void useXAxis();
80
86 void useYAxis();
87
95
105 const OdGePoint3d& origin);
106
113
123 const OdGePoint3d& definingPoint);
124
129
136 const OdGePoint3d& leaderEndPoint);
137
139 OdDbDxfFiler* pFiler);
140
141 virtual void dxfOutFields_R12(
142 OdDbDxfFiler* pFiler) const;
143
145 OdDbDwgFiler* pFiler);
146
147 virtual void dwgOutFields(
148 OdDbDwgFiler* pFiler) const;
149
151 OdDbDxfFiler* pFiler);
152
153 virtual void dxfOutFields(
154 OdDbDxfFiler* pFiler) const;
155
157 void* pClsid) const;
158};
159
164
165#include "TD_PackPop.h"
166
167#endif
#define DBDIM_EXPORT
Definition: DbExport.h:72
OdSmartPtr< OdDbOrdinateDimension > OdDbOrdinateDimensionPtr
OdResult
Definition: OdResult.h:29
OdGePoint3d leaderEndPoint() const
virtual OdResult subGetClassID(void *pClsid) const
bool isUsingYAxis() const
OdGePoint3d definingPoint() const
OdGePoint3d origin() const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual OdResult dxfInFields_R12(OdDbDxfFiler *pFiler)
void setLeaderEndPoint(const OdGePoint3d &leaderEndPoint)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
bool isUsingXAxis() const
DWGMAP_DECLARE_MEMBERS(OdDbOrdinateDimension)
virtual void dxfOutFields_R12(OdDbDxfFiler *pFiler) const
void setDefiningPoint(const OdGePoint3d &definingPoint)
void setOrigin(const OdGePoint3d &origin)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const