44 #ifndef surfaceToCell_H 45 #define surfaceToCell_H 54 class triSurfaceSearch;
69 static addToUsageTable usage_;
78 const bool includeCut_;
81 const bool includeInside_;
84 const bool includeOutside_;
88 const bool useSurfaceOrientation_;
92 const scalar nearDist_;
96 const scalar curvature_;
106 const bool IOwnPtrs_;
114 static label getNearest
126 bool differingPointNormals
131 const label cellTriI,
140 void checkSettings()
const;
144 return *querySurfPtr_;
161 const bool includeCut,
162 const bool includeInside,
163 const bool includeOutside,
164 const bool useSurfaceOrientation,
165 const scalar nearDist,
166 const scalar curvature
177 const bool includeCut,
178 const bool includeInside,
179 const bool includeOutside,
180 const bool useSurfaceOrientation,
181 const scalar nearDist,
182 const scalar curvature
virtual sourceType setType() const
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 class for handling file names.
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
virtual ~surfaceToCell()
Destructor.
Base class of a source for a topoSet.
const polyMesh & mesh() const
Helper class to search on triSurface.
TypeName("surfaceToCell")
Runtime type information.
setAction
Enumeration defining the valid actions.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
General set of labels of mesh quantity (points, cells, faces).
surfaceToCell(const polyMesh &mesh, const fileName &surfName, const pointField &outsidePoints, const bool includeCut, const bool includeInside, const bool includeOutside, const bool useSurfaceOrientation, const scalar nearDist, const scalar curvature)
Construct from components.
A topoSetSource to select cells based on relation to surface.
sourceType
Enumeration defining the types of sources.
Mesh consisting of general polyhedral cells.
Triangulated surface description with patch information.