CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
DbRevolvedSurface.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 _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
67 const OdGePoint3d& axisPnt, const OdGeVector3d& axisDir,
68 double revAngle, double startAngle,
69 OdDbRevolveOptions& revolveOptions, const OdStreamBuf *pSat = 0 );
70
76
82
91 void setAxisPnt( const OdGePoint3d& pnt );
92
97
107 void setAxisVec( const OdGeVector3d& vec );
108
112 double getRevolveAngle () const;
113
122 void setRevolveAngle ( double ang );
123
127 double getStartAngle () const;
128
137 void setStartAngle (double startAng);
138
145 void getRevolveOptions ( OdDbRevolveOptions& revolveOptions ) const;
146
155 void setRevolveOptions ( const OdDbRevolveOptions& revolveOptions );
156
168 void setRevolve ( const OdGePoint3d& axisPnt, const OdGeVector3d& axisVec,
169 double revAngle, const OdDbRevolveOptions& revolveOptions );
170
172 const OdGeMatrix3d& xfm );
173
174 // OdDbObject methods
175
177 OdDbDwgFiler* pFiler);
178
179 virtual void dwgOutFields(
180 OdDbDwgFiler* pFiler) const;
181
183 OdDbDxfFiler* pFiler);
184
185 virtual void dxfOutFields(
186 OdDbDxfFiler* pFiler) const;
187
189 void* pClsid) const;
190
191 virtual bool isDependent() const { return false; }
192};
193
198
199#include "TD_PackPop.h"
200#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)