◆ base()
coat::nut::base::base |
( |
Type |
t, |
|
|
float |
d, |
|
|
float |
h |
|
) |
| |
constructor.
- Parameters
-
t | type of the nut |
d | diameter |
h | height |
◆ copy()
virtual base * coat::nut::base::copy |
( |
base * |
p = nullptr | ) |
|
|
virtual |
◆ diameter() [1/2]
float coat::nut::base::diameter |
( |
| ) |
const |
get the diameter.
- Returns
- diameter
◆ diameter() [2/2]
base & coat::nut::base::diameter |
( |
const float & |
d | ) |
|
set the diameter.
- Parameters
-
- Returns
- base reference
◆ height() [1/2]
float coat::nut::base::height |
( |
| ) |
const |
get the height.
- Returns
- height value
◆ height() [2/2]
base & coat::nut::base::height |
( |
const float & |
h | ) |
|
set the height.
- Parameters
-
- Returns
- base reference
◆ type() [1/2]
int coat::nut::base::type |
( |
| ) |
const |
set the nut type.
- Returns
- type value.
◆ type() [2/2]
base & coat::nut::base::type |
( |
int |
t | ) |
|
set the nut type.
- Parameters
-
- Returns
- base reference
The documentation for this class was generated from the following file: