CFx SDK Documentation  2023 SP0
AECDbWall.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 __AECDBWALL_H__
25 #define __AECDBWALL_H__
26 
27 #include "AECArchBaseDefs.h"
28 #include "DbEntity/AECDbGeo.h"
36 
37 class AECDbWall;
39 
45 class AECARCHBASE_API AECDbWall : public AECDbGeo
46 {
48 
50 
51  public:
56 
60  double GetWidth() const;
61 
70  void SetWidth( double dWidth );
71 
79  double GetHeight() const;
80 
87  void SetHeight( double dHeight );
88 
92  double GetLength() const;
93 
100  void SetLength( double dLength );
101 
108  double GetArcRadius() const;
109 
117  void SetArcRadius( double dRadius );
118 
128 
139  void SetStartPoint( const OdGePoint2d& vStartPoint, const OdGePoint2d* pvAnchorPoint = 0 );
140 
141 
153  void SetEndPoint( const OdGePoint2d& vEndPoint, const OdGePoint2d* pvAnchorPoint = 0 );
154 
161  double GetDeltaAngle() const;
162 
170  void SetDeltaAngle( double dAngle );
171 
178  bool IsClockwise() const;
179 
186  void SetIsClockwise( bool bDirection );
187 
192 
197 
202 
207 
211  double GetCleanupRadius() const;
212 
219  void SetCleanupRadius( double dCleanupRadius );
220 
225 
230  void SetCleanupGroupDef( const OdDbObjectId& idCleanupGroup );
231 
236 
241 
246  bool UseAutomaticCleanups() const;
247 
252  void SetAutomaticCleanups( bool bAutoCleanup );
253 
261 
266 
271 
279 
284 
289 
294 
302 
310 
315 
323 
331 
336 
344 
352 
357 
365 
373 
378 
386 
394 
399 
407 
415 
422  static AECDbWallPtr CreateAECObject( const OdDbObjectId& idBlock,
423  const OdDbObjectId& idWallStyle );
424 
431  void Set( const OdGePoint2d& ptStart, const OdGePoint2d& ptEnd, double dBulge = 0 );
432 
446 };
447 
449 
450 #endif //__AECDBWALL_H__
OdSmartPtr< AECDbWall > AECDbWallPtr
Definition: AECDbWall.h:37
#define CURVE_DECLARE_MEMBERS()
Definition: AECMacros.h:34
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
unsigned int OdUInt32
AECWallMergeInfoSubPtr GetMergeInfoByIndex(const OdUInt32 iIndex) const
void RemoveBottomCutLine()
double GetHeight() const
OdUInt32 GetModifierCount() const
double GetLength() const
double GetWidth() const
double GetArcRadius() const
const FacetModeler::IBulgeSeg2D & GetCenterCurve()
AECDefs::WallJustification GetJustification() const
void SetGraphLinePosition(AECDefs::WallGraphLinePosition ePosition)
AECImpArraySubPtr GetModifiers()
void Set(const OdGePoint2d &ptStart, const OdGePoint2d &ptEnd, double dBulge=0)
void SetStartPoint(const OdGePoint2d &vStartPoint, const OdGePoint2d *pvAnchorPoint=0)
AECWallCustomGeometrySubPtr GetCustomGeometryByIndex(const OdUInt32 iIndex) const
void SetJustification(AECDefs::WallJustification eJustification)
void SetCleanupGroupDef(const OdDbObjectId &idCleanupGroup)
AECWallStyleOverrideSubPtr GetStyleOverrideByIndex(const OdUInt32 iIndex) const
void SetEndPoint(const OdGePoint2d &vEndPoint, const OdGePoint2d *pvAnchorPoint=0)
void SetCleanupRadius(double dCleanupRadius)
AECWallModifierSubPtr GetModifierByIndex(const OdUInt32 iIndex) const
bool IsClockwise() const
const FacetModeler::IBulgeSeg2D & GetBaseCurve()
AECImpArraySubPtr GetCompOverrides()
AECImpArraySubPtr GetInterferences()
OdGePoint2d GetArcCenter() const
AECWallCutLineSubPtr GetBottomCutLine() const
static AECDbWallPtr CreateAECObject(const OdDbObjectId &idBlock, const OdDbObjectId &idWallStyle)
void SetArcRadius(double dRadius)
OdDbObjectId GetCleanupGroupDef() const
OdUInt32 GetMergeInfoCount() const
bool UseAutomaticCleanups() const
AECImpArraySubPtr GetMergeInfos()
void SetIsClockwise(bool bDirection)
void SetAutomaticCleanups(bool bAutoCleanup)
AECWallCompOverrideSubPtr GetCompOverrideByIndex(const OdUInt32 iIndex) const
AECWallCutLineSubPtr GetTopCutLine() const
AECImpArraySubPtr GetCustomGeometries()
double GetCleanupRadius() const
AECDefs::SegmentType GetType() const
void SetHeight(double dHeight)
void RemoveTopCutLine()
AECDefs::WallGraphLinePosition GetGraphLinePosition() const
OdUInt32 GetCustomGeometryCount() const
AECWallCutLineSubPtr CreateBottomCutLine()
double GetDeltaAngle() const
OdUInt32 GetInterferenceCount() const
void SetLength(double dLength)
void SetWidth(double dWidth)
OdUInt32 GetStyleOverrideCount() const
void SetDeltaAngle(double dAngle)
OdUInt32 GetCompOverridesCount() const
AECImpArraySubPtr GetStyleOverrides()
AECWallInterferenceSubPtr GetInterferenceByIndex(const OdUInt32 iIndex) const
void SetDefaultsFromStyle()
AECWallCutLineSubPtr CreateTopCutLine()