![]() |
|
This file is part of OpenFOAM. OpenFOAM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. OpenFOAM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenFOAM; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Determine correspondence between points. See below.
Definition in file matchPoints.H.
Go to the source code of this file.
Namespaces | |
namespace | Foam |
Functions | |
bool | matchPoints (const pointField &pts0, const pointField &pts1, const scalarField &tols, const bool verbose, labelList &from0To1, const point &origin=point::zero) |
Determine correspondence between pointFields. Gets passed. |
|
Determine correspondence between pointFields. Gets passed. local tolerance per point. Returns map from 0 to 1. Returns true if found corresponding point in 1 for every point in 0; false otherwise. Compares mag(pt - origin) and does proper comparison for points with (almost) identical mag. pts0 can be subset of pts1. |