CFx SDK Documentation  2020SP3
DbPlaneSurface.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 #ifndef _DbPlaneSurface_h_Included_
26 #define _DbPlaneSurface_h_Included_
27 
28 #include "TD_PackPush.h"
29 #include "DbSurface.h"
30 
31 class OdDbRegion;
32 
42 {
43 public:
49 
57  virtual OdResult createFromRegion( OdDbRegion *pRegion );
58 
59  // OdDbObject methods
60 
62  OdDbDwgFiler* pFiler);
63 
64  virtual void dwgOutFields(
65  OdDbDwgFiler* pFiler) const;
66 
68  OdDbDxfFiler* pFiler);
69 
70  virtual void dxfOutFields(
71  OdDbDxfFiler* pFiler) const;
72 
74  void* pClsid) const;
75 
76  virtual bool isDependent() const { return false; }
77 
78  virtual OdResult subExplode(OdRxObjectPtrArray& entitySet) const;
79 
96  virtual OdResult getPlane(OdGePlane& plane, OdDb::Planarity& planarity) const;
97 };
98 
103 
104 #include "TD_PackPop.h"
105 #endif //_DbPlaneSurface_h_Included_
OdDbPlaneSurface::OdDbPlaneSurface
OdDbPlaneSurface()
OdResult
OdResult
Definition: OdResult.h:29
OdGePlane
Definition: GePlane.h:45
OdDbPlaneSurface::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbPlaneSurface)
OdDb::Planarity
Planarity
Definition: DbEntity.h:74
OdDbSurface
Definition: DbSurface.h:76
OdDbPlaneSurface::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbPlaneSurface::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbPlaneSurface::isDependent
virtual bool isDependent() const
Definition: DbPlaneSurface.h:76
OdArray< OdRxObjectPtr >
OdDbPlaneSurfacePtr
OdSmartPtr< OdDbPlaneSurface > OdDbPlaneSurfacePtr
Definition: DbPlaneSurface.h:102
TD_PackPop.h
OdDbRegion
Definition: DbRegion.h:50
OdDbPlaneSurface::getPlane
virtual OdResult getPlane(OdGePlane &plane, OdDb::Planarity &planarity) const
OdDbPlaneSurface::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdSmartPtr
Definition: SmartPtr.h:58
OdDbDxfFiler
Definition: DbFiler.h:194
TD_PackPush.h
OdDbPlaneSurface::createFromRegion
virtual OdResult createFromRegion(OdDbRegion *pRegion)
OdDbPlaneSurface::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbPlaneSurface::subExplode
virtual OdResult subExplode(OdRxObjectPtrArray &entitySet) const
OdDbPlaneSurface::subGetClassID
virtual OdResult subGetClassID(void *pClsid) const
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
DbSurface.h
OdDbPlaneSurface
Definition: DbPlaneSurface.h:42
OdDbDwgFiler
Definition: DbFiler.h:1031