3DCoat Core API
The 3DCoat API documentation.
|
Public Member Functions | |
NutLambParams () | |
constructor. | |
NutLambParams (float d, float h) | |
constructor. | |
NutLambParams & | length (const float &_l) |
set the length. | |
NutLambParams & | diameterBottom (const float &_d) |
set the bottom diameter. | |
NutLambParams & | diameterTop (const float &_d) |
set the top diameter. | |
NutLambParams & | headHeight (const float &_h) |
set the head height. | |
NutLambParams & | thickness (const float &_t) |
set the thickness. | |
float | length () const |
get the length. | |
float | diameterBottom () const |
get the bottom diameter. | |
float | diameterTop () const |
get the top diameter. | |
float | headHeight () const |
get the head height. | |
float | thickness () const |
get the thickness. | |
virtual NutHeadBaseParams * | copy (NutHeadBaseParams *p=nullptr) |
copies the NutLambParams 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::NutLambParams::NutLambParams | ( | float | d, |
float | h ) |
constructor.
d | diameter |
h | height |
|
virtual |
copies the NutLambParams object.
p | pointer to the NutLambParams object to copy. If the pointer equals to null then the object is duplicated |
Reimplemented from coat::NutHeadBaseParams.
float coat::NutLambParams::diameterBottom | ( | ) | const |
get the bottom diameter.
NutLambParams & coat::NutLambParams::diameterBottom | ( | const float & | _d | ) |
float coat::NutLambParams::diameterTop | ( | ) | const |
get the top diameter.
NutLambParams & coat::NutLambParams::diameterTop | ( | const float & | _d | ) |
float coat::NutLambParams::headHeight | ( | ) | const |
get the head height.
_h | height |
NutLambParams & coat::NutLambParams::headHeight | ( | const float & | _h | ) |
float coat::NutLambParams::length | ( | ) | const |
get the length.
NutLambParams & coat::NutLambParams::length | ( | const float & | _l | ) |
float coat::NutLambParams::thickness | ( | ) | const |
get the thickness.
NutLambParams & coat::NutLambParams::thickness | ( | const float & | _t | ) |