34 #ifndef linearDistance_H 35 #define linearDistance_H 58 scalar distanceCellSize_;
70 scalar sizeFunction(
const point& pt, scalar d,
label index)
const;
85 const scalar& defaultCellSize,
virtual bool setCellSize(const pointField &pts)
Adapt local cell size. Return true if anything changed.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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.
virtual bool cellSize(const point &pt, scalar &size) const
Modify scalar argument to the cell size specified by function.
virtual bool sizeLocations(const pointIndexHit &hitPt, const vector &n, pointField &shapePts, scalarField &shapeSizes) const
virtual ~linearDistance()
Destructor.
TypeName("linearDistance")
Runtime type information.
linearDistance(const dictionary &initialPointsDict, const searchableSurface &surface, const scalar &defaultCellSize, const labelList regionIndices)
Construct from components.