GeomAlgoAPI_Offset::GeomAlgoAPI_Offset(const GeomPlanePtr& thePlane,
const GeomShapePtr& theEdgeOrWire,
const double theOffsetValue,
- const GeomAlgoAPI_OffsetJoint theJoint)
+ const GeomAlgoAPI_OffsetJoint theJoint,
+ const bool theIsApprox)
{
// 1. Make wire from edge, if need
TopoDS_Wire aWire;
Standard_Boolean isOpenResult = !aWire.Closed();
aParal->Init(aFace, aJoin, isOpenResult);
+ aParal->SetApprox(theIsApprox);
aParal->Perform(theOffsetValue, 0.);
if (aParal->IsDone()) {
TopoDS_Shape anOffset = aParal->Shape();