mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3928 Coordinate transform : Add convert of vector of points
This commit is contained in:
@@ -950,14 +950,8 @@ void RivWellFracturePartMgr::appendFracturePerforationLengthParts(const RimEclip
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<cvf::Vec3d> displayCoords;
|
||||
{
|
||||
std::vector<cvf::Vec3d> perforationLengthCoord = m_rimFracture->perforationLengthCenterLineCoords();
|
||||
for (const cvf::Vec3d& point : perforationLengthCoord)
|
||||
{
|
||||
displayCoords.push_back(displayCoordTransform->transformToDisplayCoord(point));
|
||||
}
|
||||
}
|
||||
std::vector<cvf::Vec3d> displayCoords =
|
||||
displayCoordTransform->transformToDisplayCoords(m_rimFracture->perforationLengthCenterLineCoords());
|
||||
|
||||
if (!displayCoords.empty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user