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