CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
AECDbOpeningBase.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
16// license 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 __AECDBOPENINGBASE_H__
25#define __AECDBOPENINGBASE_H__
26
27#include "AECArchBaseDefs.h"
28#include "DbEntity/AECDbGeo.h"
29
33namespace FacetModeler { class Profile2D; }
34
40class AECARCHBASE_API AECDbOpeningBase : public AECDbGeo
41{
43
44 public:
48 double GetWidth() const;
49
53 double GetHeight() const;
54
66 double GetRise() const;
67
74 void SetWidth( double dWidth );
75
82 void SetHeight( double dHeight );
83
95 void SetRise( double dRise );
96
102 void AttachWallAnchor( const OdDbObjectId& idWall );
103
104 public:
109
117
127 virtual bool GetAECProfile( FacetModeler::Profile2D& rProfile ) const;
128
137 bool GetParentDepth( double& dResult, double dCutPlane ) const;
138
143 double GetTrueFrameDepth() const;
144};
145
147
148#endif //__AECDBOPENINGBASE_H__
OdSmartPtr< AECDbOpeningBase > AECDbOpeningBasePtr
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
void AttachWallAnchor(const OdDbObjectId &idWall)
bool GetParentDepth(double &dResult, double dCutPlane) const
double GetHeight() const
void SetHeight(double dHeight)
double GetWidth() const
virtual OdDbObjectId GetProfileDefinition() const
void SetWidth(double dWidth)
double GetTrueFrameDepth() const
virtual AECDefs::Shape GetShapeType() const
virtual bool GetAECProfile(FacetModeler::Profile2D &rProfile) const
double GetRise() const
void SetRise(double dRise)