CFx SDK Documentation  2023 SP0
AECDbClipVol.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 __AECDBCLIPVOL_H__
25 #define __AECDBCLIPVOL_H__
26 
28 
39 class AECBASE_API AECDbClipVol : public AECDbLayoutTool
40 {
42 
43  public:
49 
54  const OdGePoint2d& GetVertexByIndex( OdUInt32 iIndex ) const;
55 
59  void SetVertexByIndex( OdUInt32 iIndex, const OdGePoint2d& pt );
60 
66 
72 
76  void AddEntity( const OdDbObjectId& idEntity );
77 
81  void RemoveEntity( const OdDbObjectId& idEntity );
82 
87 
92 
96  double GetSubdivisionByIndex( OdUInt32 iIndex ) const;
97 
101  void AddSubdivision( double dSubdivision );
102 
106  void RemoveSubdivision( double dSubdivision );
107 
112 
116  double GetStartAngle() const;
117 
121  void SetStartAngle( double dAngle );
122 
126  double GetEndAngle() const;
127 
131  void SetEndAngle( double dAngle );
132 
136  double GetStartExtension() const;
137 
141  void SetStartExtension( double dExtension );
142 
146  double GetEndExtension() const;
147 
151  void SetEndExtension( double dExtension );
152 
156  double GetHeight() const;
157 
161  void SetHeight( double dHeight );
162 
166  double GetLowerExtension() const;
167 
171  void SetLowerExtension( double dExtension );
172 
178 
183  void SetIsUseModelExtentsForHeight( bool bUse );
184 
189 
193  void SetDisplaySet( const OdDbObjectId& idSet );
194 
198  OdString GetName() const;
199 
203  void SetName( const OdString& strName );
204 
209 
214 };
215 
217 
218 #endif // __AECDBCLIPVOL_H__
OdSmartPtr< AECDbClipVol > AECDbClipVolPtr
Definition: AECDbClipVol.h:216
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
unsigned int OdUInt32
double GetStartAngle() const
double GetEndExtension() const
OdDbObjectId GetEntityByIndex(OdUInt32 iIndex) const
void SetVertexByIndex(OdUInt32 iIndex, const OdGePoint2d &pt)
void RemoveEntities()
OdUInt32 GetSubdivisionCount() const
void RemoveSubdivisions()
void AddSubdivision(double dSubdivision)
double GetEndAngle() const
void RemoveSubdivision(double dSubdivision)
void SetLowerExtension(double dExtension)
void SetName(const OdString &strName)
void SetStartExtension(double dExtension)
double GetLowerExtension() const
double GetStartExtension() const
OdString GetName() const
void SetHeight(double dHeight)
void SetStartAngle(double dAngle)
void SetEndExtension(double dExtension)
void AddEntity(const OdDbObjectId &idEntity)
OdUInt32 GetEntityCount() const
void RemoveEntity(const OdDbObjectId &idEntity)
void SetEndAngle(double dAngle)
double GetSubdivisionByIndex(OdUInt32 iIndex) const
void SetIsUseModelExtentsForHeight(bool bUse)
void SetDisplaySet(const OdDbObjectId &idSet)
bool IsUseModelExtentsForHeight() const
OdGePoint2d GetSideAEndpoint() const
OdUInt32 GetVertexCount() const
const OdGePoint2d & GetVertexByIndex(OdUInt32 iIndex) const
OdDbObjectId GetDisplaySet() const
OdGePoint2d GetSideBEndpoint() const
double GetHeight() const