CFx SDK Documentation  2023 SP0
DbShCylinder.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_DBSHCYLINDER_H
25 #define ODDB_DBSHCYLINDER_H
26 
27 #include "TD_PackPush.h"
28 #include "DbShPrimitive.h"
29 
37 {
38 public:
41 
42  virtual OdResult dwgInFields(OdDbDwgFiler* pFiler);
43  virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
44  virtual OdResult dxfInFields(OdDbDxfFiler* pFiler);
45  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
46 
47  virtual double height() const;
48  virtual double xRadius() const;
49  virtual double yRadius() const;
50  virtual double majorRadius() const;
51  virtual double minorRadius() const;
52  virtual OdResult setHeight(double dHeight);
53  virtual OdResult setXRadius(double dXRadius);
54  virtual OdResult setYRadius(double dXRadius);
55  virtual OdResult setMajorRadius(double dMajorRadius);
56  virtual OdResult setMinorRadius(double dMinorRadius);
57  virtual bool isCylindrical() const;
58  virtual bool isElliptical() const;
59 };
60 
61 
69 {
70 public:
73 
74  virtual OdResult dwgInFields(OdDbDwgFiler* pFiler);
75  virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
76  virtual OdResult dxfInFields(OdDbDxfFiler* pFiler);
77  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
78 
79  virtual double baseRadius() const;
80  virtual double topMinorRadius() const;
81  virtual double topMajorRadius() const;
82  virtual double topXRadius() const;
83  virtual OdResult setBaseRadius(double dHeight);
84  virtual OdResult setTopMinorRadius(double dMinorRadius);
85  virtual OdResult setTopMajorRadius(double dMajorRadius);
86  virtual OdResult setTopXRadius(double dTopMinorRad);
87 };
88 
94 #include "TD_PackPop.h"
95 
96 #endif
97 
OdSmartPtr< OdDbShCone > OdDbShConePtr
Definition: DbShCylinder.h:93
OdSmartPtr< OdDbShCylinder > OdDbShCylinderPtr
Definition: DbShCylinder.h:92
OdResult
Definition: OdResult.h:29
#define DB3DSOLIDHISTORY_EXPORT
virtual OdResult setBaseRadius(double dHeight)
virtual double topMajorRadius() const
virtual double topXRadius() const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual double baseRadius() const
virtual double topMinorRadius() const
virtual OdResult setTopMajorRadius(double dMajorRadius)
virtual OdResult setTopMinorRadius(double dMinorRadius)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual OdResult setTopXRadius(double dTopMinorRad)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
ODDB_DECLARE_MEMBERS(OdDbShCone)
virtual double yRadius() const
virtual OdResult setMinorRadius(double dMinorRadius)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual bool isElliptical() const
virtual OdResult setMajorRadius(double dMajorRadius)
virtual double xRadius() const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual double majorRadius() const
virtual bool isCylindrical() const
virtual double height() const
ODDB_DECLARE_MEMBERS(OdDbShCylinder)
virtual OdResult setHeight(double dHeight)
virtual OdResult setXRadius(double dXRadius)
virtual double minorRadius() const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult setYRadius(double dXRadius)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const