CFx SDK Documentation
2020SP3
SDK
CFx
dd_inc
ShHistory
DbShRevolve.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
#ifndef ODDB_DBSHREVOLVE_H
25
#define ODDB_DBSHREVOLVE_H
26
27
#include "
TD_PackPush.h
"
28
#include "
DbShPrimitive.h
"
29
#include "
DbRevolveOptions.h
"
30
37
class
DB3DSOLIDHISTORY_EXPORT
OdDbShRevolve
:
public
OdDbShPrimitive
38
{
39
public
:
40
ODDB_DECLARE_MEMBERS
(
OdDbShRevolve
);
41
OdDbShRevolve
();
42
43
virtual
OdResult
dwgInFields
(
OdDbDwgFiler
* pFiler);
44
virtual
void
dwgOutFields
(
OdDbDwgFiler
* pFiler)
const
;
45
virtual
OdResult
dxfInFields
(
OdDbDxfFiler
* pFiler);
46
virtual
void
dxfOutFields
(
OdDbDxfFiler
* pFiler)
const
;
47
48
OdGePoint3d
axisPoint
()
const
;
49
OdGeVector3d
direction
()
const
;
50
OdResult
getRevolveOptions
(
OdDbRevolveOptions
& revOpt)
const
;
51
double
revolveAngle
()
const
;
52
OdResult
setAxisPoint
(
OdGePoint3d
const
& pt);
53
OdResult
setDirection
(
OdGeVector3d
const
& pdir);
54
OdResult
setRevolve
(
OdGePoint3d
const
& pt,
OdGeVector3d
const
& pdir,
double
dRevAng,
OdDbRevolveOptions
const
& revOpt);
55
OdResult
setRevolveAngle
(
double
val);
56
OdResult
setRevolveOptions
(
OdDbRevolveOptions
const
& revOpt);
57
OdResult
setStartAngle
(
double
);
58
double
startAngle
()
const
;
59
OdDbEntityPtr
sweepEntity
()
const
;
60
OdResult
setSweepEntity
(
OdDbEntity
* pSweepEnt);
61
};
62
66
typedef
OdSmartPtr<OdDbShRevolve>
OdDbShRevolvePtr
;
67
68
#include "
TD_PackPop.h
"
69
70
#endif
71
OdDbShRevolve::setStartAngle
OdResult setStartAngle(double)
OdResult
OdResult
Definition:
OdResult.h:29
OdGeVector3d
Definition:
GeVector3d.h:54
OdDbShRevolve::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbShRevolve::setRevolveAngle
OdResult setRevolveAngle(double val)
OdDbShRevolve::setAxisPoint
OdResult setAxisPoint(OdGePoint3d const &pt)
OdDbShRevolve::sweepEntity
OdDbEntityPtr sweepEntity() const
OdDbShRevolve::OdDbShRevolve
OdDbShRevolve()
DbRevolveOptions.h
OdDbShRevolve::direction
OdGeVector3d direction() const
TD_PackPop.h
OdDbShRevolve::revolveAngle
double revolveAngle() const
OdDbShRevolve::setSweepEntity
OdResult setSweepEntity(OdDbEntity *pSweepEnt)
OdDbShRevolve::setRevolve
OdResult setRevolve(OdGePoint3d const &pt, OdGeVector3d const &pdir, double dRevAng, OdDbRevolveOptions const &revOpt)
OdSmartPtr< OdDbEntity >
OdGePoint3d
Definition:
GePoint3d.h:55
OdDbShRevolve::getRevolveOptions
OdResult getRevolveOptions(OdDbRevolveOptions &revOpt) const
OdDbShRevolve::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbShRevolve::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbShRevolve)
OdDbRevolveOptions
Definition:
DbRevolveOptions.h:41
OdDbShRevolvePtr
OdSmartPtr< OdDbShRevolve > OdDbShRevolvePtr
Definition:
DbShRevolve.h:66
OdDbDxfFiler
Definition:
DbFiler.h:194
TD_PackPush.h
OdDbShRevolve
Definition:
DbShRevolve.h:38
OdDbShRevolve::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbEntity
Definition:
DbEntity.h:90
OdDbShRevolve::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbShRevolve::startAngle
double startAngle() const
OdDbShRevolve::axisPoint
OdGePoint3d axisPoint() const
DB3DSOLIDHISTORY_EXPORT
#define DB3DSOLIDHISTORY_EXPORT
Definition:
TD_3DSolidHistoryDef.h:32
OdDbShRevolve::setRevolveOptions
OdResult setRevolveOptions(OdDbRevolveOptions const &revOpt)
OdDbShPrimitive
Definition:
DbShPrimitive.h:38
OdDbShRevolve::setDirection
OdResult setDirection(OdGeVector3d const &pdir)
OdDbDwgFiler
Definition:
DbFiler.h:1031
DbShPrimitive.h
Generated on Mon Oct 12 2020 11:49:31