BUG: treeDataPoint: return selected points
This commit is contained in:
@ -56,7 +56,14 @@ Foam::treeDataPoint::treeDataPoint
|
||||
|
||||
Foam::pointField Foam::treeDataPoint::points() const
|
||||
{
|
||||
return points_;
|
||||
if (pointLabels_.size())
|
||||
{
|
||||
return pointField(points_, pointLabels_);
|
||||
}
|
||||
else
|
||||
{
|
||||
return points_;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user