class of the slits
More...
#include <CorePrimAPI.h>
|
| Slit () |
| constructor
|
|
| Slit (float w, float h, float d, SlitType t) |
| slit constructor.
|
|
Slit & | type (const int &_t) |
| set the slit type.
|
|
int | type () const |
| get the slit type.
|
|
Slit & | width (const float &_w) |
| set the width.
|
|
float | width () const |
| get the width.
|
|
Slit & | height (const float &_h) |
| set the height.
|
|
float | height () const |
| get the height.
|
|
Slit & | depth (const float &_d) |
| set the depth.
|
|
float | depth () const |
| get the depth.
|
|
class of the slits
- Examples
- boltheads.cpp, and screw.cpp.
◆ Slit()
coat::Slit::Slit |
( |
float | w, |
|
|
float | h, |
|
|
float | d, |
|
|
SlitType | t ) |
slit constructor.
- Parameters
-
w | width |
h | height |
d | depth |
t | type |
◆ depth() [1/2]
float coat::Slit::depth |
( |
| ) |
const |
get the depth.
- Returns
- depth value
◆ depth() [2/2]
Slit & coat::Slit::depth |
( |
const float & | _d | ) |
|
set the depth.
- Parameters
-
- Returns
- slit reference
- Examples
- boltheads.cpp.
◆ height() [1/2]
float coat::Slit::height |
( |
| ) |
const |
get the height.
- Returns
- height value
◆ height() [2/2]
Slit & coat::Slit::height |
( |
const float & | _h | ) |
|
set the height.
- Parameters
-
- Returns
- slit reference
- Examples
- boltheads.cpp.
◆ type() [1/2]
int coat::Slit::type |
( |
| ) |
const |
get the slit type.
- Returns
- type value
◆ type() [2/2]
Slit & coat::Slit::type |
( |
const int & | _t | ) |
|
set the slit type.
- Parameters
-
- Returns
- slit reference
- Examples
- boltheads.cpp.
◆ width() [1/2]
float coat::Slit::width |
( |
| ) |
const |
get the width.
- Returns
- width value
◆ width() [2/2]
Slit & coat::Slit::width |
( |
const float & | _w | ) |
|
set the width.
- Parameters
-
- Returns
- slit reference
- Examples
- boltheads.cpp.
The documentation for this class was generated from the following file: