mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: treeDataPoint: return selected points
This commit is contained in:
@ -56,7 +56,14 @@ Foam::treeDataPoint::treeDataPoint
|
|||||||
|
|
||||||
Foam::pointField Foam::treeDataPoint::points() const
|
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