![]() |
3DCoat Core API
The 3DCoat API documentation.
|
Public Member Functions | |
| NutRadialParams () | |
| constructor. | |
| NutRadialParams (float d, float h) | |
| constructor. | |
| NutRadialParams (float d, float h, float d1, float d2) | |
| constructor | |
| NutRadialParams & | holeDiameter (const float &d) |
| set the hole diameter. | |
| NutRadialParams & | holeDepth (const float &d) |
| set the hole depth. | |
| float | holeDiameter () const |
| set the hole diameter. | |
| float | holeDepth () const |
| get the hole depth. | |
| NutRadialParams & | holePlace (const int &place) |
| set the hole place (0 - face, 1 - side). | |
| int | holePlace () const |
| get the hole place. | |
| virtual NutHeadBaseParams * | copy (NutHeadBaseParams *p=nullptr) |
| copies the radial 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::NutRadialParams::NutRadialParams | ( | float | d, |
| float | h ) |
constructor.
| d | diameter |
| h | height |
| coat::NutRadialParams::NutRadialParams | ( | float | d, |
| float | h, | ||
| float | d1, | ||
| float | d2 ) |
constructor
| d | diameter |
| h | height. |
| d1 | hole diameter |
| d2 | hole depth |
|
virtual |
copies the radial object.
| p | pointer to the radial object to copy. If the pointer equals to null then the object is duplicated |
Reimplemented from coat::NutHeadBaseParams.
| float coat::NutRadialParams::holeDepth | ( | ) | const |
get the hole depth.
| NutRadialParams & coat::NutRadialParams::holeDepth | ( | const float & | d | ) |
| float coat::NutRadialParams::holeDiameter | ( | ) | const |
set the hole diameter.
| NutRadialParams & coat::NutRadialParams::holeDiameter | ( | const float & | d | ) |
| int coat::NutRadialParams::holePlace | ( | ) | const |
get the hole place.
| NutRadialParams & coat::NutRadialParams::holePlace | ( | const int & | place | ) |
set the hole place (0 - face, 1 - side).
| place | place flag |