Function puma::generateRandomFibers(puma::Workspace *, RandomFibersInput, short)
Defined in File randomfibers.h
Function Documentation
-
bool puma::generateRandomFibers(puma::Workspace *mat, RandomFibersInput input, short val)
Generates random fibers based upon the given input and stores into the segmented workspace. After generation, void is contained in segmented value 0 and material is contained in segmented value 1
- Parameters
mat – output workspace
input – the RandomFibersInput details for the generation
val – the value to assign to the fibers
- Returns
true if successful, false if it failing