44 #ifndef surfaceToCell_H 45 #define surfaceToCell_H 54 class triSurfaceSearch;
76 const bool includeCut_;
79 const bool includeInside_;
82 const bool includeOutside_;
86 const bool useSurfaceOrientation_;
90 const scalar nearDist_;
94 const scalar curvature_;
104 const bool IOwnPtrs_;
112 static label getNearest
124 bool differingPointNormals
129 const label cellTriI,
135 void combine(
topoSet&
set,
const bool add)
const;
138 void checkSettings()
const;
142 return *querySurfPtr_;
159 const bool includeCut,
160 const bool includeInside,
161 const bool includeOutside,
162 const bool useSurfaceOrientation,
163 const scalar nearDist,
164 const scalar curvature
175 const bool includeCut,
176 const bool includeInside,
177 const bool includeOutside,
178 const bool useSurfaceOrientation,
179 const scalar nearDist,
180 const scalar curvature
virtual sourceType setType() const
A class for handling file names.
A list of keyword definitions, which are a keyword followed by any number of values (e...
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.