Commit 72035c12 authored by Philipp Schäfer's avatar Philipp Schäfer
Browse files

ART - RayGrid

- renamed functions which creates a copy with new rays
parent a9517d21
......@@ -91,7 +91,7 @@ namespace ITAPropagationPathSim
void SetToNeighboringRays(const std::shared_ptr<CRay>& pRay);
//! Creates a ray grid with the same initial ray directions but new rays
CRayGrid NewRays() const;
CRayGrid CopyWithNewRays() const;
};
class ITA_PROPAGATION_PATH_SIM_API CEquiangularRayDistribution : public CRayGrid
......
......@@ -111,7 +111,7 @@ namespace ITAPropagationPathSim
{
std::vector<CRayGrid> rayGridsOfReflectionOrder;
for each (RayPtr pRay in vpMinDistanceRays)
rayGridsOfReflectionOrder.push_back(initialRayGrid.GetNeighboringRays(pRay).NewRays());
rayGridsOfReflectionOrder.push_back(initialRayGrid.GetNeighboringRays(pRay).CopyWithNewRays());
return rayGridsOfReflectionOrder;
}
......
......@@ -117,7 +117,7 @@ void CRayGrid::SetToNeighboringRays(const std::shared_ptr<CRay>& pRay)
*this = GetNeighboringRays(pRay);
}
CRayGrid CRayGrid::NewRays() const
CRayGrid CRayGrid::CopyWithNewRays() const
{
return CRayGrid(v3SourcePos, vdThetaDeg, vdPhiDeg, bCircularPhi);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment