CFx SDK Documentation  2020SP3
DbRevolvedSurface.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 _DbRevolvedSurface_h_Included_
26 #define _DbRevolvedSurface_h_Included_
27 
28 #include "TD_PackPush.h"
29 #include "DbSurface.h"
30 #include "DbRevolveOptions.h"
31 
41 {
42 public:
45 
66  const OdGePoint3d& axisPnt, const OdGeVector3d& axisDir,
67  double revAngle, double startAngle,
68  OdDbRevolveOptions& revolveOptions, const OdStreamBuf *pSat = 0 );
69 
75 
81 
91  void setAxisPnt( const OdGePoint3d& pnt );
92 
97 
108  void setAxisVec( const OdGeVector3d& vec );
109 
113  double getRevolveAngle () const;
114 
124  void setRevolveAngle ( double ang );
125 
129  double getStartAngle () const;
130 
140  void setStartAngle (double startAng);
141 
148  void getRevolveOptions ( OdDbRevolveOptions& revolveOptions ) const;
149 
159  void setRevolveOptions ( const OdDbRevolveOptions& revolveOptions );
160 
173  void setRevolve ( const OdGePoint3d& axisPnt, const OdGeVector3d& axisVec,
174  double revAngle, const OdDbRevolveOptions& revolveOptions );
175 
177  const OdGeMatrix3d& xfm );
178 
179  // OdDbObject methods
180 
182  OdDbDwgFiler* pFiler);
183 
184  virtual void dwgOutFields(
185  OdDbDwgFiler* pFiler) const;
186 
188  OdDbDxfFiler* pFiler);
189 
190  virtual void dxfOutFields(
191  OdDbDxfFiler* pFiler) const;
192 
194  void* pClsid) const;
195 
196  virtual bool isDependent() const { return false; }
197 };
198 
203 
204 #include "TD_PackPop.h"
205 #endif //_DbRevolvedSurface_h_Included_
OdResult
OdResult
Definition: OdResult.h:29
OdGeVector3d
Definition: GeVector3d.h:54
OdDbRevolvedSurfacePtr
OdSmartPtr< OdDbRevolvedSurface > OdDbRevolvedSurfacePtr
Definition: DbRevolvedSurface.h:202
OdDbRevolvedSurface::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbRevolvedSurface::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbRevolvedSurface)
OdDbSurface
Definition: DbSurface.h:76
OdDbRevolvedSurface::setRevolve
void setRevolve(const OdGePoint3d &axisPnt, const OdGeVector3d &axisVec, double revAngle, const OdDbRevolveOptions &revolveOptions)
DbRevolveOptions.h
OdDbRevolvedSurface::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
TD_PackPop.h
OdDbRevolvedSurface::setRevolveAngle
void setRevolveAngle(double ang)
OdDbRevolvedSurface::subTransformBy
OdResult subTransformBy(const OdGeMatrix3d &xfm)
OdDbRevolvedSurface
Definition: DbRevolvedSurface.h:41
OdGeMatrix3d
Definition: GeMatrix3d.h:73
OdDbRevolvedSurface::getRevolveEntity
OdDbEntity * getRevolveEntity() const
OdDbRevolvedSurface::isDependent
virtual bool isDependent() const
Definition: DbRevolvedSurface.h:196
OdSmartPtr
Definition: SmartPtr.h:58
OdGePoint3d
Definition: GePoint3d.h:55
OdDbRevolvedSurface::OdDbRevolvedSurface
OdDbRevolvedSurface()
OdDbRevolvedSurface::setAxisVec
void setAxisVec(const OdGeVector3d &vec)
OdDbRevolvedSurface::subGetClassID
virtual OdResult subGetClassID(void *pClsid) const
OdDbRevolvedSurface::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbRevolvedSurface::getAxisPnt
OdGePoint3d getAxisPnt() const
OdDbRevolvedSurface::setStartAngle
void setStartAngle(double startAng)
OdDbRevolveOptions
Definition: DbRevolveOptions.h:41
OdDbRevolvedSurface::setRevolveOptions
void setRevolveOptions(const OdDbRevolveOptions &revolveOptions)
OdDbDxfFiler
Definition: DbFiler.h:194
TD_PackPush.h
OdDbEntity
Definition: DbEntity.h:90
OdStreamBuf
Definition: OdStreamBuf.h:67
OdDbRevolvedSurface::getStartAngle
double getStartAngle() const
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbRevolvedSurface::getRevolveAngle
double getRevolveAngle() const
OdDbRevolvedSurface::getRevolveOptions
void getRevolveOptions(OdDbRevolveOptions &revolveOptions) const
DbSurface.h
OdDbRevolvedSurface::getAxisVec
OdGeVector3d getAxisVec() const
OdDbRevolvedSurface::setAxisPnt
void setAxisPnt(const OdGePoint3d &pnt)
OdDbDwgFiler
Definition: DbFiler.h:1031
OdDbRevolvedSurface::createRevolvedSurface
virtual OdResult createRevolvedSurface(OdDbEntity *pRevEnt, const OdGePoint3d &axisPnt, const OdGeVector3d &axisDir, double revAngle, double startAngle, OdDbRevolveOptions &revolveOptions, const OdStreamBuf *pSat=0)
OdDbRevolvedSurface::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const