mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
ENH: Update to sampleSets so that distance outputs cumulative distance
along sample path STYLE: Minor code formatting
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user