3DCoat Core API
The 3DCoat API documentation.
|
Public Member Functions | |
NutRimParams () | |
constructor. | |
NutRimParams (float d, float h) | |
constructor. | |
NutRimParams & | inRingDiameter (const float &_d) |
set the inner ring diameter. | |
NutRimParams & | outRingDiameter (const float &_d) |
set the outer ring diameter. | |
float | inRingDiameter () const |
get the inner ring diameter. | |
float | outRingDiameter () const |
get the outer ring diameter. | |
virtual NutHeadBaseParams * | copy (NutHeadBaseParams *p=nullptr) |
copies the NutRimParams object. | |
Public Member Functions inherited from coat::NutHeadBaseParams | |
NutHeadBaseParams () | |
constructor. | |
NutHeadBaseParams (NutType t, float d, float h) | |
constructor. | |
NutHeadBaseParams & | diameter (const float &d) |
set the diameter. | |
float | diameter () const |
get the diameter. | |
NutHeadBaseParams & | height (const float &h) |
set the height. | |
float | height () const |
get the height. | |
operator void * () const | |
() operator | |
NutHeadBaseParams & | type (int t) |
set the nut type. | |
int | type () const |
set the nut type. | |
coat::NutRimParams::NutRimParams | ( | float | d, |
float | h ) |
constructor.
d | diameter |
h | height |
|
virtual |
copies the NutRimParams object.
p | pointer to the NutRimParams object to copy. If the pointer equals to null then the object is duplicated |
Reimplemented from coat::NutHeadBaseParams.
float coat::NutRimParams::inRingDiameter | ( | ) | const |
get the inner ring diameter.
NutRimParams & coat::NutRimParams::inRingDiameter | ( | const float & | _d | ) |
float coat::NutRimParams::outRingDiameter | ( | ) | const |
get the outer ring diameter.
NutRimParams & coat::NutRimParams::outRingDiameter | ( | const float & | _d | ) |