CFx SDK Documentation  2022 SP0
DbRevolveOptions.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 _DbRevolveOptions_h_Included_
26 #define _DbRevolveOptions_h_Included_
27 
28 #include "TD_PackPush.h"
29 #include "DbSurface.h"
30 
31 class OdDbRevolveOptionsImpl;
32 
41 {
42 public:
47 
54 
59 
65  OdDbRevolveOptions& operator =(const OdDbRevolveOptions& src);
66 
73  double draftAngle() const;
74 
83  void setDraftAngle(double ang);
84 
91  double twistAngle() const;
92 
101  void setTwistAngle(double ang);
102 
109  bool closeToAxis() const;
110 
120  void setCloseToAxis(bool val);
121 
139  OdDbEntity* pRevEnt,
140  const OdGePoint3d& axisPnt,
141  const OdGeVector3d& axisDir,
142  bool& closed,
143  bool& endPointsOnAxis,
144  bool& planar,
145  bool displayErrorMessages = false);
146 
147 private:
148  friend class OdDbRevolveOptionsImpl;
149  OdDbRevolveOptionsImpl* m_pImpl;
150 };
151 
152 #include "TD_PackPop.h"
153 #endif //_DbRevolveOptions_h_Included_
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdResult
Definition: OdResult.h:29
double twistAngle() const
bool closeToAxis() const
OdDbRevolveOptions(const OdDbRevolveOptions &src)
void setTwistAngle(double ang)
void setCloseToAxis(bool val)
double draftAngle() const
OdResult checkRevolveCurve(OdDbEntity *pRevEnt, const OdGePoint3d &axisPnt, const OdGeVector3d &axisDir, bool &closed, bool &endPointsOnAxis, bool &planar, bool displayErrorMessages=false)
void setDraftAngle(double ang)