CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbPoint.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_POINT_
28#define _OD_DB_POINT_
29
30#include "TD_PackPush.h"
31
32#include "DbEntity.h"
33#include "DwgDeclareMembers.h"
34
51{
52public:
54
65 OdDbPoint( const OdGePoint3d& gePoint );
66
67
80
81
95 void setPosition( const OdGePoint3d& gePoint );
96
97
112 double thickness() const;
113
114
130 void setThickness( double vThickness );
131
132
145
146
160 void setNormal( const OdGeVector3d& geVector );
161
162
179 double ecsRotation() const;
180
181
201 void setEcsRotation( double vAngle );
202
203
214 virtual bool isPlanar() const { return true; }
215
216
233 virtual OdResult getPlane( OdGePlane& gePlane, OdDb::Planarity& gePlanarity ) const;
234
235 virtual OdResult subGetGeomExtents(OdGeExtents3d& extents) const;
236
238 OdDbDwgFiler* pFiler);
239
240 virtual void dwgOutFields(
241 OdDbDwgFiler* pFiler) const;
242
244 OdDbDxfFiler* pFiler);
245
246 virtual void dxfOutFields(
247 OdDbDxfFiler* pFiler) const;
248
250 OdDbDxfFiler* pFiler);
251
252 virtual void dxfOutFields_R12(
253 OdDbDxfFiler* pFiler) const;
254
256 const OdGeMatrix3d& xfm);
257
258 virtual bool subWorldDraw(
259 OdGiWorldDraw* pWd) const;
260
261 virtual void subViewportDraw(
262 OdGiViewportDraw* pVd) const;
263
265 OdGiDrawableTraits *pTraits) const;
266
268 void* pClsid) const;
269};
270
279
280#include "TD_PackPop.h"
281
282#endif
283
#define DBDIM_EXPORT
Definition: DbExport.h:72
OdSmartPtr< OdDbPoint > OdDbPointPtr
Definition: DbPoint.h:278
unsigned int OdUInt32
OdResult
Definition: OdResult.h:29
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual void dxfOutFields_R12(OdDbDxfFiler *pFiler) const
OdDbPoint(const OdGePoint3d &gePoint)
double ecsRotation() const
void setNormal(const OdGeVector3d &geVector)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
virtual void subViewportDraw(OdGiViewportDraw *pVd) const
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
virtual OdResult dxfInFields_R12(OdDbDxfFiler *pFiler)
void setEcsRotation(double vAngle)
void setPosition(const OdGePoint3d &gePoint)
void setThickness(double vThickness)
virtual OdResult subGetGeomExtents(OdGeExtents3d &extents) const
virtual OdResult getPlane(OdGePlane &gePlane, OdDb::Planarity &gePlanarity) const
virtual OdResult subGetClassID(void *pClsid) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual bool isPlanar() const
Definition: DbPoint.h:214
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm)
double thickness() const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdGePoint3d position() const
DWGMAP_DECLARE_MEMBERS(OdDbPoint)
OdGeVector3d normal() const
Planarity
Definition: DbEntity.h:74