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,
label size() const noexcept
The number of elements in list.
cellSizeFunction(const cellSizeFunction &)=delete
No copy construct.
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.
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
vector point
Point is a vector.
vectorField pointField
pointField is a vectorField.
PointIndexHit< point > pointIndexHit
A PointIndexHit with a 3D point.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.