mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-17 03:25:23 -06:00
#923 Intersections : Added viz for extrusion direction by two points
This commit is contained in:
1 parent
c3816acfbf
commit
522ae9998f
8 files changed
+175
-28
No files matched your search
@@ -377,6 +377,18 @@ RivIntersectionPartMgr* RimIntersection::crossSectionPartMgr()
|
||||
return m_crossSectionPartMgr.p();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector< std::vector <cvf::Vec3d> > RimIntersection::polyLinesForExtrusionDirection() const
|
||||
{
|
||||
std::vector< std::vector <cvf::Vec3d> > lines;
|
||||
|
||||
lines.push_back(m_customExtrusionPoints);
|
||||
|
||||
return lines;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -601,7 +613,7 @@ void RimIntersection::appendPointToPolyLine(const cvf::Vec3d& point)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimIntersection::appendPointToCustomExtrusion(const cvf::Vec3d& point)
|
||||
void RimIntersection::appendPointToExtrusionDirection(const cvf::Vec3d& point)
|
||||
{
|
||||
if (m_customExtrusionPoints().size() > 1) m_customExtrusionPoints.v().clear();
|
||||
|
||||
|
||||
Reference in new issue
Block a user