|
CFx SDK Documentation
2020SP3
|
#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 44 of file IfcDeviationParams.h.
| OdIfc::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 OdIfc::OdIfcDeviationParams::getDeviation | ( | ) | const |
Retrieves the current deviation value.
| OdUInt16 OdIfc::OdIfcDeviationParams::getMaxPerCircle | ( | ) | const |
Retrieves the current maximum number of circle segments.
| OdUInt16 OdIfc::OdIfcDeviationParams::getMinPerCircle | ( | ) | const |
Retrieves the current minimum number of circle segments.
| void OdIfc::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. |