opencascade-hs-0.6.0.0: cpp/hs_BRepFilletAPI_MakeChamfer.cpp
#include <BRepFilletAPI_MakeChamfer.hxx>
#include <TopoDS_Shape.hxx>
#include "hs_BRepFilletAPI_MakeChamfer.h"
BRepFilletAPI_MakeChamfer * hs_new_BRepFilletAPI_MakeChamfer_fromShape(TopoDS_Shape * shape) {
return new BRepFilletAPI_MakeChamfer(*shape);
}
void hs_delete_BRepFilletAPI_MakeChamfer(BRepFilletAPI_MakeChamfer * builder) {
delete builder;
}
void hs_BRepFilletAPI_MakeChamfer_addEdge(BRepFilletAPI_MakeChamfer * builder, TopoDS_Edge *edge ){
builder->Add(*edge);
}
void hs_BRepFilletAPI_MakeChamfer_addEdgeWithDistance(BRepFilletAPI_MakeChamfer * builder, double d, TopoDS_Edge *edge ){
builder->Add(d, *edge);
}
void hs_BRepFilletAPI_MakeChamfer_reset(BRepFilletAPI_MakeChamfer * builder){
builder->Reset();
}
int hs_BRepFilletAPI_MakeChamfer_nbEdges(BRepFilletAPI_MakeChamfer * builder, int contourIndex){
return builder->NbEdges(contourIndex);
}
TopoDS_Edge * hs_BRepFilletAPI_MakeChamfer_edge(BRepFilletAPI_MakeChamfer * builder, int contourIndex, int edgeIndex){
return new TopoDS_Edge(builder->Edge(contourIndex, edgeIndex));
}
void hs_BRepFilletAPI_MakeChamfer_remove(BRepFilletAPI_MakeChamfer * builder, TopoDS_Edge * edge){
builder->Remove(*edge);
}