34 #ifndef surfaceOffsetLinearDistance_H 35 #define surfaceOffsetLinearDistance_H 58 scalar distanceCellSize_;
61 scalar surfaceOffset_;
65 scalar totalDistance_;
68 scalar totalDistanceSqr_;
74 scalar sizeFunction(
const point& pt, scalar d,
label index)
const;
80 TypeName(
"surfaceOffsetLinearDistance");
89 const scalar& defaultCellSize,
virtual ~surfaceOffsetLinearDistance()
Destructor.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual bool sizeLocations(const pointIndexHit &hitPt, const vector &n, pointField &shapePts, scalarField &shapeSizes) const
A list of keyword definitions, which are a keyword followed by any number of values (e...
Abstract base class for specifying target cell sizes.
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
Base class of (analytical or triangulated) surface. Encapsulates all the search routines. WIP.
surfaceOffsetLinearDistance(const dictionary &initialPointsDict, const searchableSurface &surface, const scalar &defaultCellSize, const labelList regionIndices)
Construct from components.
TypeName("surfaceOffsetLinearDistance")
Runtime type information.
virtual bool cellSize(const point &pt, scalar &size) const
Modify scalar argument to the cell size specified by function.