37#ifndef surfaceOffsetLinearDistance_H
38#define surfaceOffsetLinearDistance_H
61 scalar distanceCellSize_;
64 scalar surfaceOffset_;
68 scalar totalDistance_;
71 scalar totalDistanceSqr_;
77 scalar sizeFunction(
const point& pt, scalar d, label index)
const;
83 TypeName(
"surfaceOffsetLinearDistance");
92 const scalar& defaultCellSize,
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
Abstract base class for specifying target cell sizes.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
TypeName("surfaceOffsetLinearDistance")
Runtime type information.
virtual bool sizeLocations(const pointIndexHit &hitPt, const vector &n, pointField &shapePts, scalarField &shapeSizes) const
virtual bool cellSize(const point &pt, scalar &size) const
Modify scalar argument to the cell size specified by function.
virtual ~surfaceOffsetLinearDistance()=default
Destructor.
surfaceOffsetLinearDistance(const dictionary &initialPointsDict, const searchableSurface &surface, const scalar &defaultCellSize, const labelList regionIndices)
Construct from components.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.