CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
AECSpaceSurface.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 __AECSPACESURFACE_H__
25#define __AECSPACESURFACE_H__
26
31
37class AECARCHBASE_API AECSpaceSurface : public AECGeSegment2d
38{
40
41 public:
46
47 public:
51 const OdString& GetName() const;
52
56 void SetName( const OdString& strName );
57
61 bool IsOverrideHeight() const;
62
66 void SetIsOverrideHeight( bool bOverride );
67
71 double GetHeightOverride() const;
72
76 void SetHeightOverride( double dHeight );
77
82
87
88 double GetThickness( ) const;
89
90 void SetThickness( double thickness );
91
96
100 void SetStyle( const OdDbObjectId& idStyle );
101
106
111
116
121
122 private:
123 double m_dHeightOverride;
124 AECSpaceSurfaceData m_surfaceData;
125 OdUInt8 m_flags;
126};
127
130
131
132inline const OdString& AECSpaceSurface::GetName() const {
133 return m_surfaceData.GetName();
134}
135
136inline void AECSpaceSurface::SetName( const OdString& strName ) {
137 m_surfaceData.SetName( strName );
138}
139
140#endif // __AECSPACESURFACE_H__
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
OdSmartPtr< AECSpaceSurface > AECSpaceSurfacePtr
AECSubPtr< AECSpaceSurface > AECSpaceSurfaceSubPtr
unsigned int OdUInt32
unsigned char OdUInt8
void SetName(const OdString &strName)
AECSpaceSurfaceComponentSubPtr GetOpeningByName(const OdString &strName) const
OdDbObjectId GetStyle() const
void SetSurfaceType(SurfaceType eType)
double GetHeightOverride() const
AECSpaceSurfaceComponentSubPtr GetOpeningByIndex(OdUInt32 iIndex) const
AECImpArraySubPtr GetOpenings() const
OdUInt32 GetOpeningCount() const
double GetThickness() const
void SetThickness(double thickness)
AECSpaceDefs::SurfaceType SurfaceType
SurfaceType GetSurfaceType() const
void SetIsOverrideHeight(bool bOverride)
void SetHeightOverride(double dHeight)
void SetStyle(const OdDbObjectId &idStyle)
const OdString & GetName() const
bool IsOverrideHeight() const