ENH: Update to sampleSets so that distance outputs cumulative distance

along sample path

STYLE: Minor code formatting
This commit is contained in:
andy
2010-04-07 16:12:55 +01:00
parent 357ff92e8d
commit 9feda061e3
19 changed files with 90 additions and 213 deletions

View File

@ -394,20 +394,4 @@ Foam::polyLineSet::~polyLineSet()
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
Foam::point Foam::polyLineSet::getRefPoint(const List<point>& pts) const
{
if (pts.size())
{
// Use first samplePt as starting point
return pts[0];
}
else
{
return vector::zero;
}
}
// ************************************************************************* //