Commit 8ea98438 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[distance][boundary] add overload for quadrilaterals

parent 2e3b7f14
......@@ -190,6 +190,29 @@ ctype computeDistanceToBoundary(const TopoDS_Shape& shape,
* \brief Compute the distance of a shape
* to the bounding wire of a quadrilateral.
* \param shape The shape
* \param quad The quadrilateral
* \param deflection The epsilon used in the BrepExtrema command
* \param extFlag The flag passed to the BrepExtrema command (MIN/MAX/MINMAX)
* \param extAlgo The algorithm passed to the BrepExtrema command (TREE/GRAD)
template<class ctype>
ctype computeDistanceToBoundary(const TopoDS_Shape& shape,
const Quadrilateral<ctype, 3>& quad,
ctype deflection = Precision<ctype>::confusion(),
Extrema_ExtFlag extFlag = Extrema_ExtFlag_MINMAX,
Extrema_ExtAlgo extAlgo = Extrema_ExtAlgo_Grad)
return computeDistance(shape,
* \brief Compute the distance of a geometry
* to the boundary of a TopoDS_Face.
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