CFx SDK Documentation
2023 SP0
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_
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition:
DbExport.h:40
DbSurface.h
OdResult
OdResult
Definition:
OdResult.h:29
TD_PackPop.h
TD_PackPush.h
OdDbEntity
Definition:
DbEntity.h:90
OdDbRevolveOptions
Definition:
DbRevolveOptions.h:41
OdDbRevolveOptions::twistAngle
double twistAngle() const
OdDbRevolveOptions::closeToAxis
bool closeToAxis() const
OdDbRevolveOptions::OdDbRevolveOptions
OdDbRevolveOptions(const OdDbRevolveOptions &src)
OdDbRevolveOptions::setTwistAngle
void setTwistAngle(double ang)
OdDbRevolveOptions::setCloseToAxis
void setCloseToAxis(bool val)
OdDbRevolveOptions::~OdDbRevolveOptions
~OdDbRevolveOptions()
OdDbRevolveOptions::draftAngle
double draftAngle() const
OdDbRevolveOptions::checkRevolveCurve
OdResult checkRevolveCurve(OdDbEntity *pRevEnt, const OdGePoint3d &axisPnt, const OdGeVector3d &axisDir, bool &closed, bool &endPointsOnAxis, bool &planar, bool displayErrorMessages=false)
OdDbRevolveOptions::setDraftAngle
void setDraftAngle(double ang)
OdDbRevolveOptions::OdDbRevolveOptions
OdDbRevolveOptions()
OdGePoint3d
Definition:
GePoint3d.h:55
OdGeVector3d
Definition:
GeVector3d.h:54
Generated on Thu Feb 24 2022 15:09:27