public interface FemElementSampler
Modifier and Type | Method and Description |
---|---|
double |
isample(Point3d coord,
Point3d pnt)
Generates a sample point from within the previously used or assigned finite element,
returns probability density of point, used mainly for numerical integration
|
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 |
sample(Point3d coord,
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
|
void setElement(FemElement3d elem)
elem
- element to sample fromPoint3d sample()
void sample(Point3d pnt)
pnt
- populated sampled pointvoid sample(Point3d coord, Point3d pnt)
coord
- sampled local coordinate within the element (natural coordinates)pnt
- spatial location of pointdouble isample(Point3d coord, Point3d pnt)
coord
- sampled local coordinate within the element (natural coordinates)pnt
- spatial location of point