opencascade-hs-0.6.3.0: cpp/hs_BRepMesh_IncrementalMesh.cpp
#include <BRepMesh_IncrementalMesh.hxx>
#include "hs_Exception.h"
#include "hs_BRepMesh_IncrementalMesh.h"
BRepMesh_IncrementalMesh * hs_BRepMesh_IncrementalMesh_fromShapeAndLinDeflection(
TopoDS_Shape *shape, double theLinDeflection,
HSExceptionType* exType, void ** exPtr
){
return hs_handleEx(
exType,
exPtr,
[shape, theLinDeflection]{
return new BRepMesh_IncrementalMesh(*shape, theLinDeflection);
}
);
}
void hs_delete_BRepMesh_IncrementalMesh(BRepMesh_IncrementalMesh * mesh){
delete mesh;
}
void hs_BRepMesh_IncrementalMesh_Perform(
BRepMesh_IncrementalMesh * mesh,
HSExceptionType* exType, void ** exPtr
){
hs_handleExVoid(
exType,
exPtr,
[mesh]{
mesh->Perform();
}
);
}