CFx SDK Documentation  2020SP3
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 
OdDbShCylinder::height
virtual double height() const
OdResult
OdResult
Definition: OdResult.h:29
OdDbShCone::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbShCone::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbShCone::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbShCone)
OdDbShConePtr
OdSmartPtr< OdDbShCone > OdDbShConePtr
Definition: DbShCylinder.h:93
OdDbShCone::topMinorRadius
virtual double topMinorRadius() const
OdDbShCone::topMajorRadius
virtual double topMajorRadius() const
OdDbShCone::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
TD_PackPop.h
OdDbShCone::setTopXRadius
virtual OdResult setTopXRadius(double dTopMinorRad)
OdDbShCylinder::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbShCone::topXRadius
virtual double topXRadius() const
OdDbShCylinderPtr
OdSmartPtr< OdDbShCylinder > OdDbShCylinderPtr
Definition: DbShCylinder.h:92
OdDbShCone::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbShCone::setTopMinorRadius
virtual OdResult setTopMinorRadius(double dMinorRadius)
OdSmartPtr
Definition: SmartPtr.h:58
OdDbShCone::setBaseRadius
virtual OdResult setBaseRadius(double dHeight)
OdDbShCylinder::setXRadius
virtual OdResult setXRadius(double dXRadius)
OdDbShCylinder::setYRadius
virtual OdResult setYRadius(double dXRadius)
OdDbShCone
Definition: DbShCylinder.h:69
OdDbShCylinder::xRadius
virtual double xRadius() const
OdDbShCylinder::isElliptical
virtual bool isElliptical() const
OdDbShCylinder
Definition: DbShCylinder.h:37
OdDbShCone::baseRadius
virtual double baseRadius() const
OdDbDxfFiler
Definition: DbFiler.h:194
OdDbShCone::OdDbShCone
OdDbShCone()
TD_PackPush.h
OdDbShCylinder::yRadius
virtual double yRadius() const
OdDbShCylinder::OdDbShCylinder
OdDbShCylinder()
OdDbShCylinder::setHeight
virtual OdResult setHeight(double dHeight)
OdDbShCylinder::setMajorRadius
virtual OdResult setMajorRadius(double dMajorRadius)
OdDbShCylinder::setMinorRadius
virtual OdResult setMinorRadius(double dMinorRadius)
OdDbShCylinder::minorRadius
virtual double minorRadius() const
OdDbShCylinder::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbShCylinder)
DB3DSOLIDHISTORY_EXPORT
#define DB3DSOLIDHISTORY_EXPORT
Definition: TD_3DSolidHistoryDef.h:32
OdDbShCylinder::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbShCylinder::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbShCylinder::majorRadius
virtual double majorRadius() const
OdDbShCylinder::isCylindrical
virtual bool isCylindrical() const
OdDbShPrimitive
Definition: DbShPrimitive.h:38
OdDbShCone::setTopMajorRadius
virtual OdResult setTopMajorRadius(double dMajorRadius)
OdDbShCylinder::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbDwgFiler
Definition: DbFiler.h:1031
DbShPrimitive.h