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