CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbRevolvedSurface.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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-2022 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 _DbRevolvedSurface_h_Included_
26#define _DbRevolvedSurface_h_Included_
27
28#include "TD_PackPush.h"
29#include "DbSurface.h"
30#include "DbRevolveOptions.h"
31
39{
40public:
43
64 const OdGePoint3d& axisPnt, const OdGeVector3d& axisDir,
65 double revAngle, double startAngle,
66 OdDbRevolveOptions& revolveOptions, const OdStreamBuf *pSat = 0 );
67
73
79
89 void setAxisPnt( const OdGePoint3d& pnt );
90
95
106 void setAxisVec( const OdGeVector3d& vec );
107
111 double getRevolveAngle () const;
112
122 void setRevolveAngle ( double ang );
123
127 double getStartAngle () const;
128
138 void setStartAngle (double startAng);
139
146 void getRevolveOptions ( OdDbRevolveOptions& revolveOptions ) const;
147
157 void setRevolveOptions ( const OdDbRevolveOptions& revolveOptions );
158
171 void setRevolve ( const OdGePoint3d& axisPnt, const OdGeVector3d& axisVec,
172 double revAngle, const OdDbRevolveOptions& revolveOptions );
173
175 const OdGeMatrix3d& xfm );
176
177 // OdDbObject methods
178
180 OdDbDwgFiler* pFiler);
181
182 virtual void dwgOutFields(
183 OdDbDwgFiler* pFiler) const;
184
186 OdDbDxfFiler* pFiler);
187
188 virtual void dxfOutFields(
189 OdDbDxfFiler* pFiler) const;
190
192 void* pClsid) const;
193
194 virtual bool isDependent() const { return false; }
195};
196
201
202#include "TD_PackPop.h"
203#endif //_DbRevolvedSurface_h_Included_
#define DBENT_EXPORT
Definition: DbExport.h:67
OdSmartPtr< OdDbRevolvedSurface > OdDbRevolvedSurfacePtr
OdResult
Definition: OdResult.h:29
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
void setRevolve(const OdGePoint3d &axisPnt, const OdGeVector3d &axisVec, double revAngle, const OdDbRevolveOptions &revolveOptions)
void getRevolveOptions(OdDbRevolveOptions &revolveOptions) const
double getRevolveAngle() const
void setRevolveAngle(double ang)
OdResult subTransformBy(const OdGeMatrix3d &xfm)
virtual OdResult createRevolvedSurface(OdDbEntity *pRevEnt, const OdGePoint3d &axisPnt, const OdGeVector3d &axisDir, double revAngle, double startAngle, OdDbRevolveOptions &revolveOptions, const OdStreamBuf *pSat=0)
OdGePoint3d getAxisPnt() const
void setAxisVec(const OdGeVector3d &vec)
void setRevolveOptions(const OdDbRevolveOptions &revolveOptions)
virtual bool isDependent() const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
void setAxisPnt(const OdGePoint3d &pnt)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdGeVector3d getAxisVec() const
virtual OdResult subGetClassID(void *pClsid) const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
ODDB_DECLARE_MEMBERS(OdDbRevolvedSurface)
OdDbEntity * getRevolveEntity() const
double getStartAngle() const
void setStartAngle(double startAng)