opencascade-hs-0.6.3.0: cpp/hs_BRepOffsetAPI_MakePipe.cpp
#include <BRepOffsetAPI_MakePipe.hxx>
#include "hs_Exception.h"
#include "hs_BRepOffsetAPI_MakePipe.h"
BRepOffsetAPI_MakePipe * hs_new_BRepOffsetAPI_MakePipe_fromWireAndShape(
TopoDS_Wire * wire, TopoDS_Shape * profile,
HSExceptionType* exType,
void** exPtr
){
return hs_handleEx(
exType,
exPtr,
[wire, profile]{
return new BRepOffsetAPI_MakePipe(*wire, *profile);
});
}
BRepOffsetAPI_MakePipe * hs_new_BRepOffsetAPI_MakePipe_fromWireShapeTrihedronModeAndForceC1(
TopoDS_Wire * wire,
TopoDS_Shape * profile,
GeomFill_Trihedron mode,
bool forceApproxC1,
HSExceptionType* exType,
void** exPtr
){
return hs_handleEx(
exType,
exPtr,
[wire, profile, mode, forceApproxC1]{
return new BRepOffsetAPI_MakePipe(*wire, *profile, mode, forceApproxC1);
});
}
void hs_delete_BRepOffsetAPI_MakePipe(BRepOffsetAPI_MakePipe * builder){
delete builder;
}