opencascade-hs-0.6.3.0: cpp/hs_ShapeExtend_WireData.cpp
#include <ShapeExtend_WireData.hxx>
#include "hs_Exception.h"
#include "hs_ShapeExtend_WireData.h"
#include <TopoDS_Wire.hxx>
ShapeExtend_WireData * hs_new_ShapeExtend_WireData_fromWireChainedAndManifold(
TopoDS_Wire* wire, bool chained, bool manifoldMode,
HSExceptionType* exType, void ** exPtr
){
return hs_handleEx(
exType,
exPtr,
[wire, chained, manifoldMode]{
return new ShapeExtend_WireData(*wire, chained, manifoldMode);
}
);
}
void hs_delete_ShapeExtend_WireData(ShapeExtend_WireData * wireData){
delete wireData;
}
void hs_ShapeExtend_WireData_reverse(
ShapeExtend_WireData * wireData,
HSExceptionType* exType, void ** exPtr
){
hs_handleExVoid(
exType,
exPtr,
[wireData]{
wireData->Reverse();
}
);
}
TopoDS_Wire * hs_ShapeExtend_WireData_wire(
ShapeExtend_WireData * wireData,
HSExceptionType* exType, void ** exPtr
){
return hs_handleEx(
exType,
exPtr,
[wireData]{
return new TopoDS_Wire(wireData->Wire());
}
);
}
TopoDS_Wire * hs_ShapeExtend_WireData_wireAPIMake(
ShapeExtend_WireData * wireData,
HSExceptionType* exType, void ** exPtr
){
return hs_handleEx(
exType,
exPtr,
[wireData]{
return new TopoDS_Wire(wireData->WireAPIMake());
}
);
}