BUG: treeDataPoint: return selected points

This commit is contained in:
mattijs
2011-03-29 12:40:34 +01:00
parent 4fa972e4be
commit a64c9a1dd3

View File

@ -55,9 +55,16 @@ Foam::treeDataPoint::treeDataPoint
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
Foam::pointField Foam::treeDataPoint::points() const Foam::pointField Foam::treeDataPoint::points() const
{
if (pointLabels_.size())
{
return pointField(points_, pointLabels_);
}
else
{ {
return points_; return points_;
} }
}
//- Get type (inside,outside,mixed,unknown) of point w.r.t. surface. //- Get type (inside,outside,mixed,unknown) of point w.r.t. surface.