CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbShCylinder.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#ifndef ODDB_DBSHCYLINDER_H
25#define ODDB_DBSHCYLINDER_H
26
27#include "TD_PackPush.h"
28#include "DbShPrimitive.h"
29
35{
36public:
39
41 virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
43 virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
44
45 virtual double height() const;
46 virtual double xRadius() const;
47 virtual double yRadius() const;
48 virtual double majorRadius() const;
49 virtual double minorRadius() const;
50 virtual OdResult setHeight(double dHeight);
51 virtual OdResult setXRadius(double dXRadius);
52 virtual OdResult setYRadius(double dXRadius);
53 virtual OdResult setMajorRadius(double dMajorRadius);
54 virtual OdResult setMinorRadius(double dMinorRadius);
55 virtual bool isCylindrical() const;
56 virtual bool isElliptical() const;
57};
58
59
65{
66public:
69
71 virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
73 virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
74
75 virtual double baseRadius() const;
76 virtual double topMinorRadius() const;
77 virtual double topMajorRadius() const;
78 virtual double topXRadius() const;
79 virtual OdResult setBaseRadius(double dHeight);
80 virtual OdResult setTopMinorRadius(double dMinorRadius);
81 virtual OdResult setTopMajorRadius(double dMajorRadius);
82 virtual OdResult setTopXRadius(double dTopMinorRad);
83};
84
90#include "TD_PackPop.h"
91
92#endif
93
OdSmartPtr< OdDbShCone > OdDbShConePtr
Definition: DbShCylinder.h:89
OdSmartPtr< OdDbShCylinder > OdDbShCylinderPtr
Definition: DbShCylinder.h:88
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