CFx SDK Documentation
2020SP3
SDK
CFx
dd_inc
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
40
class
TOOLKIT_EXPORT
OdDbRevolveOptions
41
{
42
public
:
46
OdDbRevolveOptions
();
47
53
OdDbRevolveOptions
(
const
OdDbRevolveOptions
& src);
54
58
~OdDbRevolveOptions
();
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
138
OdResult
checkRevolveCurve
(
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_
OdResult
OdResult
Definition:
OdResult.h:29
OdGeVector3d
Definition:
GeVector3d.h:54
OdDbRevolveOptions::OdDbRevolveOptions
OdDbRevolveOptions()
OdDbRevolveOptions::setCloseToAxis
void setCloseToAxis(bool val)
OdDbRevolveOptions::setTwistAngle
void setTwistAngle(double ang)
OdDbRevolveOptions::checkRevolveCurve
OdResult checkRevolveCurve(OdDbEntity *pRevEnt, const OdGePoint3d &axisPnt, const OdGeVector3d &axisDir, bool &closed, bool &endPointsOnAxis, bool &planar, bool displayErrorMessages=false)
TD_PackPop.h
OdDbRevolveOptions::draftAngle
double draftAngle() const
OdGePoint3d
Definition:
GePoint3d.h:55
OdDbRevolveOptions::OdDbRevolveOptions
OdDbRevolveOptions(const OdDbRevolveOptions &src)
OdDbRevolveOptions::~OdDbRevolveOptions
~OdDbRevolveOptions()
OdDbRevolveOptions::setDraftAngle
void setDraftAngle(double ang)
OdDbRevolveOptions
Definition:
DbRevolveOptions.h:41
TD_PackPush.h
OdDbRevolveOptions::closeToAxis
bool closeToAxis() const
OdDbEntity
Definition:
DbEntity.h:90
OdDbRevolveOptions::twistAngle
double twistAngle() const
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition:
DbExport.h:40
DbSurface.h
Generated on Mon Oct 12 2020 11:49:31