public abstract class FemElementSamplerBase extends java.lang.Object implements FemElementSampler
Constructor and Description |
---|
FemElementSamplerBase() |
Modifier and Type | Method and Description |
---|---|
Point3d |
sample()
Generates a random point from within the previously used or assigned element
|
void |
sample(Point3d pnt)
Generates a sample point from within the previously used or assigned finite element
|
void |
setElement(FemElement3d elem)
Sets the element to sample from
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isample, sample
public void setElement(FemElement3d elem)
FemElementSampler
setElement
in interface FemElementSampler
elem
- element to sample frompublic Point3d sample()
FemElementSampler
sample
in interface FemElementSampler
public void sample(Point3d pnt)
FemElementSampler
sample
in interface FemElementSampler
pnt
- populated sampled point