#923 Intersections : Added viz for extrusion direction by two points

This commit is contained in:
Magne Sjaastad committed 2016-10-18 14:25:31 +02:00
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();