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