![]() |
3DCoat Core API
The 3DCoat API documentation.
|
Public Member Functions | |
NutClampLever () | |
constructor. | |
NutClampLever (float d, float h) | |
constructor. | |
NutClampLever & | holderDiameter (const float &_d) |
set the diameter of the holder. | |
NutClampLever & | length (const float &_l) |
set the length. | |
float | holderDiameter () const |
get the diameter of the holder. | |
float | length () const |
get the length. | |
virtual NutHeadBaseParams * | copy (NutHeadBaseParams *p=nullptr) |
copies the NutClampLever object. | |
![]() | |
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::NutClampLever::NutClampLever | ( | float | d, |
float | h ) |
constructor.
d | diameter |
h | height |
|
virtual |
copies the NutClampLever object.
p | pointer to the NutClampLever object to copy. If the pointer equals to null then the object is duplicated |
Reimplemented from coat::NutHeadBaseParams.
float coat::NutClampLever::holderDiameter | ( | ) | const |
get the diameter of the holder.
NutClampLever & coat::NutClampLever::holderDiameter | ( | const float & | _d | ) |
float coat::NutClampLever::length | ( | ) | const |
get the length.
NutClampLever & coat::NutClampLever::length | ( | const float & | _l | ) |