| CFx SDK Documentation 2024 SP0
    | 
#include <IfcDeviationParams.h>
| Public Member Functions | |
| OdIfcDeviationParams (double deviation=0.5, OdUInt16 minPerCircle=8, OdUInt16 maxPerCircle=128) | |
| double | getDeviation () const | 
| void | setDeviation (double deviation) | 
| OdUInt16 | getMinPerCircle () const | 
| void | setMinPerCircle (OdUInt16 minPerCircle) | 
| OdUInt16 | getMaxPerCircle () const | 
| void | setMaxPerCircle (OdUInt16 maxPerCircle) | 
A class that implements working with IFC deviation parameters.
Definition at line 40 of file IfcDeviationParams.h.
| OdIfcDeviationParams::OdIfcDeviationParams | ( | double | deviation = 0.5, | 
| OdUInt16 | minPerCircle = 8, | ||
| OdUInt16 | maxPerCircle = 128 | ||
| ) | 
Creates a new set of deviation parameters with the specified values.
| deviation | [in] A deviation value. | 
| minPerCircle | [in] A minimum number of segments to divide the circle into. | 
| maxPerCircle | [in] A maximum number of segments to divide the circle into. | 
| double OdIfcDeviationParams::getDeviation | ( | ) | const | 
Retrieves the current deviation value.
| OdUInt16 OdIfcDeviationParams::getMaxPerCircle | ( | ) | const | 
Retrieves the current maximum number of circle segments.
| OdUInt16 OdIfcDeviationParams::getMinPerCircle | ( | ) | const | 
Retrieves the current minimum number of circle segments.
| void OdIfcDeviationParams::setDeviation | ( | double | deviation | ) | 
Sets a new deviation value for the parameters set.
| deviation | [in] A new deviation value to be set. | 
Sets a new maximum number of circle segments.
| maxPerCircle | [in] A new maximum quantity of circle segments to be set. | 
Sets a new minimum number of circle segments.
| minPerCircle | [in] A new minimum quantity of circle segments to be set. |