62 info.setPoint(start+t*l.vec());
71 Foam::searchablePlane::searchablePlane
74 const point& basePoint,
79 plane(basePoint, normal)
83 Foam::searchablePlane::searchablePlane
104 if (regions_.empty())
107 regions_[0] =
"region0";
124 info[i].setPoint(nearestPoint(samples[i]));
126 if (
magSqr(samples[i]-info[i].rawPoint()) > nearestDistSqr[i])
128 info[i].setIndex(-1);
140 void Foam::searchablePlane::findLine
151 info[i] = findLine(start[i], end[i]);
163 findLine(start, end, info);
175 findLine(start, end, nearestInfo);
180 if (nearestInfo[pointI].hit())
183 info[pointI][0] = nearestInfo[pointI];
187 info[pointI].
clear();
223 "searchableCollection::getVolumeType(const pointField&"
224 ", List<volumeType>&) const"
225 ) <<
"Volume type not supported for plane."