Function puma::generateRandomSpheres(puma::Workspace *, RandomSpheresInput, short)
Defined in File randomspheres.h
Function Documentation
-
bool puma::generateRandomSpheres(puma::Workspace *mat, RandomSpheresInput 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
sphereWS – the output workspace
input – the RandomSpheresInput details for the generation
val – the value to assign to the fibers
- Returns
true if successful, false if it failing