55 f->mapping()->worldToLocal(
wsP,
lsP);
56 return (
lsP.x > 0.0 &&
lsP.x <= 1.0 &&
57 lsP.y > 0.0 &&
lsP.y <= 1.0 &&
58 lsP.z > 0.0 &&
lsP.z <= 1.0);
FIELD3D_NAMESPACE_OPEN bool isPointInField(const FieldRes::Ptr f, const V3d &wsP)
Checks whether the point is within the given field.
bool isLegalVoxelCoord(const V3d &vsP, const Box3d &vsDataWindow)
Checks whether the floating - point voxel coordinate is within the given (floating point) data window...
Contains the FieldInterp base class and some standard interpolation classes.
boost::intrusive_ptr< FieldRes > Ptr
#define FIELD3D_NAMESPACE_SOURCE_CLOSE