CFx SDK Documentation  2020SP3
IfcDeviationParams.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2019, 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-2019 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 // OdIfcDeviationParams.h: interface for the OdIfcDeviationParams class.
25 //
27 
28 #if !defined(ODA_ODIFCDEVIATIONPARAMS_H_INCLUDED_)
29 #define ODA_ODIFCDEVIATIONPARAMS_H_INCLUDED_
30 
31 #if _MSC_VER > 1000
32 #pragma once
33 #endif // _MSC_VER > 1000
34 
38 namespace OdIfc
39 {
40 
45  {
46  public:
47 
54  OdIfcDeviationParams(double deviation = 0.5, OdUInt16 minPerCircle = 8, OdUInt16 maxPerCircle = 128);
55 
60  double getDeviation() const;
61 
66  void setDeviation(double deviation);
67 
73 
78  void setMinPerCircle(OdUInt16 minPerCircle);
79 
85 
90  void setMaxPerCircle(OdUInt16 maxPerCircle);
91 
92 //DOM-IGNORE-BEGIN
93  private:
94  double m_deviation;
95  OdUInt16 m_minPerCircle;
96  OdUInt16 m_maxPerCircle;
97 //DOM-IGNORE-END
98  };
99 }
100 
101 #endif // !defined(ODA_ODIFCDEVIATIONPARAMS_H_INCLUDED_)
IFCCORE_EXPORT
#define IFCCORE_EXPORT
Definition: IfcBuildOptions.h:28
OdUInt16
unsigned short OdUInt16
Definition: OdPlatformSettings.h:760
OdIfc::OdIfcDeviationParams::OdIfcDeviationParams
OdIfcDeviationParams(double deviation=0.5, OdUInt16 minPerCircle=8, OdUInt16 maxPerCircle=128)
OdIfc
Definition: FxBIMDatabase.h:24
OdIfc::OdIfcDeviationParams::setMinPerCircle
void setMinPerCircle(OdUInt16 minPerCircle)
OdIfc::OdIfcDeviationParams::getDeviation
double getDeviation() const
OdIfc::OdIfcDeviationParams
Definition: IfcDeviationParams.h:45
OdIfc::OdIfcDeviationParams::setDeviation
void setDeviation(double deviation)
OdIfc::OdIfcDeviationParams::getMinPerCircle
OdUInt16 getMinPerCircle() const
OdIfc::OdIfcDeviationParams::setMaxPerCircle
void setMaxPerCircle(OdUInt16 maxPerCircle)
OdIfc::OdIfcDeviationParams::getMaxPerCircle
OdUInt16 getMaxPerCircle() const