CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
DbRevolveOptions.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, 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-2024 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
31class OdDbRevolveOptionsImpl;
32
41{
42public:
47
54
59
65 OdDbRevolveOptions& operator =(const OdDbRevolveOptions& src);
66
73 bool operator ==(const OdDbRevolveOptions& opt) const;
74
81 double draftAngle() const;
82
91 void setDraftAngle(double ang);
92
99 double twistAngle() const;
100
109 void setTwistAngle(double ang);
110
117 bool closeToAxis() const;
118
128 void setCloseToAxis(bool val);
129
147 OdDbEntity* pRevEnt,
148 const OdGePoint3d& axisPnt,
149 const OdGeVector3d& axisDir,
150 bool& closed,
151 bool& endPointsOnAxis,
152 bool& planar,
153 bool displayErrorMessages = false);
154
155private:
157 OdDbRevolveOptionsImpl* m_pImpl;
158};
159
160#include "TD_PackPop.h"
161#endif //_DbRevolveOptions_h_Included_
#define DBENT_EXPORT
Definition DbExport.h:67
bool operator==(T left, const OdGiVariant::EnumType right)
Definition GiVariant.h:399
OdResult
Definition OdResult.h:29
double twistAngle() const
bool closeToAxis() const
OdDbRevolveOptions(const OdDbRevolveOptions &src)
void setTwistAngle(double ang)
void setCloseToAxis(bool val)
friend class OdDbRevolveOptionsImpl
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)