CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdIfc::OdIfcDeviationParams Class Reference

#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)
 

Detailed Description

A class that implements working with IFC deviation parameters.

Definition at line 44 of file IfcDeviationParams.h.

Constructor & Destructor Documentation

◆ OdIfcDeviationParams()

OdIfc::OdIfcDeviationParams::OdIfcDeviationParams ( double  deviation = 0.5,
OdUInt16  minPerCircle = 8,
OdUInt16  maxPerCircle = 128 
)

Creates a new set of deviation parameters with the specified values.

Parameters
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.

Member Function Documentation

◆ getDeviation()

double OdIfc::OdIfcDeviationParams::getDeviation ( ) const

Retrieves the current deviation value.

Returns
Returns a double value that represents the current deviation value.

◆ getMaxPerCircle()

OdUInt16 OdIfc::OdIfcDeviationParams::getMaxPerCircle ( ) const

Retrieves the current maximum number of circle segments.

Returns
Returns an unsigned 16-bit integer value that represents the current maximum quantity of circle segments.

◆ getMinPerCircle()

OdUInt16 OdIfc::OdIfcDeviationParams::getMinPerCircle ( ) const

Retrieves the current minimum number of circle segments.

Returns
Returns an unsigned 16-bit integer value that represents the current minimum quantity of circle segments.

◆ setDeviation()

void OdIfc::OdIfcDeviationParams::setDeviation ( double  deviation)

Sets a new deviation value for the parameters set.

Parameters
deviation[in] A new deviation value to be set.

◆ setMaxPerCircle()

void OdIfc::OdIfcDeviationParams::setMaxPerCircle ( OdUInt16  maxPerCircle)

Sets a new maximum number of circle segments.

Parameters
maxPerCircle[in] A new maximum quantity of circle segments to be set.

◆ setMinPerCircle()

void OdIfc::OdIfcDeviationParams::setMinPerCircle ( OdUInt16  minPerCircle)

Sets a new minimum number of circle segments.

Parameters
minPerCircle[in] A new minimum quantity of circle segments to be set.

The documentation for this class was generated from the following file: