Commit 432667ae authored by Sylvain Thery's avatar Sylvain Thery

add some set function for boundary drawing

parent b5d064c4
......@@ -279,6 +279,12 @@ public:
* @param ns distance shift along normals (use BB.diagSize()/100 is good approximation)
*/
void setNormalShift(float ns);
/**
* @brief set boundary shift for boundary of dim 2 drawing
* @param ns distance shift
*/
void setBoundaryShift(float bs);
};
// just for compatibility with old code
......
......@@ -345,6 +345,17 @@ void TopoRender::toSVG(Utils::SVG::SVGOut& svg)
}
void TopoRender::setNormalShift(float ns)
{
m_normalShift = ns;
}
void TopoRender::setBoundaryShift(float bs)
{
m_boundShift = bs;
}
}//end namespace GL2
......
Markdown is supported
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