◆ lamb()
coat::nut::lamb::lamb |
( |
float |
d, |
|
|
float |
h |
|
) |
| |
◆ copy()
virtual base * coat::nut::lamb::copy |
( |
base * |
p = nullptr | ) |
|
|
virtual |
copies the lamb object.
- Parameters
-
p | pointer to the lamb object to copy. If the pointer equals to null then the object is duplicated |
- Returns
- the pointer to a copy of an lamb object.
Reimplemented from coat::nut::base.
◆ diameterBottom() [1/2]
float coat::nut::lamb::diameterBottom |
( |
| ) |
const |
get the bottom diameter.
- Returns
- bottom diameter
◆ diameterBottom() [2/2]
lamb & coat::nut::lamb::diameterBottom |
( |
const float & |
_d | ) |
|
set the bottom diameter.
- Parameters
-
- Returns
- lamb reference
◆ diameterTop() [1/2]
float coat::nut::lamb::diameterTop |
( |
| ) |
const |
get the top diameter.
- Returns
- top diameter
◆ diameterTop() [2/2]
lamb & coat::nut::lamb::diameterTop |
( |
const float & |
_d | ) |
|
set the top diameter.
- Parameters
-
- Returns
- lamb reference
◆ headHeight() [1/2]
float coat::nut::lamb::headHeight |
( |
| ) |
const |
get the head height.
- Parameters
-
- Returns
- height value
◆ headHeight() [2/2]
lamb & coat::nut::lamb::headHeight |
( |
const float & |
_h | ) |
|
set the head height.
- Parameters
-
- Returns
- lamb reference
◆ length() [1/2]
float coat::nut::lamb::length |
( |
| ) |
const |
get the length.
- Returns
- length value
◆ length() [2/2]
lamb & coat::nut::lamb::length |
( |
const float & |
_l | ) |
|
set the length.
- Parameters
-
- Returns
- lamb reference
◆ thickness() [1/2]
float coat::nut::lamb::thickness |
( |
| ) |
const |
get the thickness.
- Returns
- thickness value
◆ thickness() [2/2]
lamb & coat::nut::lamb::thickness |
( |
const float & |
_t | ) |
|
set the thickness.
- Parameters
-
- Returns
- lamb reference
The documentation for this class was generated from the following file: