public abstract class SimplePICoRandomizer extends java.lang.Object implements PICoRandomizer
Modifier and Type | Method and Description |
---|---|
Vector3D[] |
getRandomizedPDs(int i,
int j,
int k)
Randomizes the PDs in the voxel (i,j,k) and returns them.
|
double |
pdf(int i,
int j,
int k,
int pdIndex,
Vector3D v)
Evaluates the PDF for a vector at voxel (i,j,k).
|
public final Vector3D[] getRandomizedPDs(int i, int j, int k)
PICoRandomizer
getRandomizedPDs
in interface PICoRandomizer
public final double pdf(int i, int j, int k, int pdIndex, Vector3D v)
PICoRandomizer
pdf
in interface PICoRandomizer
pdIndex
- the index of the PDF in the voxel.v
- a unit vector.v
.