opencascade-hs-0.6.3.0: cpp/hs_BRepGProp.cpp
#include <BRepGProp.hxx>
#include "hs_Exception.h"
#include "hs_BRepGProp.h"
void hs_BRepGProp_VolumeProperties(
TopoDS_Shape *shape, GProp_GProps *props, bool onlyClosed, bool skipShared, bool useTriangulation,
HSExceptionType* exType, void ** exPtr
){
hs_handleExVoid(
exType,
exPtr,
[shape, props, onlyClosed, skipShared, useTriangulation]{
BRepGProp::VolumeProperties(*shape, *props, onlyClosed, skipShared, useTriangulation);
}
);
}
void hs_BRepGProp_SurfaceProperties(
TopoDS_Shape *shape, GProp_GProps *props, bool skipShared, bool useTriangulation,
HSExceptionType* exType, void ** exPtr
){
hs_handleExVoid(
exType,
exPtr,
[shape, props, skipShared, useTriangulation]{
BRepGProp::SurfaceProperties(*shape, *props, skipShared, useTriangulation);
}
);
}
void hs_BRepGProp_LinearProperties(
TopoDS_Shape *shape, GProp_GProps *props, bool skipShared, bool useTriangulation,
HSExceptionType* exType, void ** exPtr
){
hs_handleExVoid(
exType,
exPtr,
[shape, props, skipShared, useTriangulation]{
BRepGProp::LinearProperties(*shape, *props, skipShared, useTriangulation);
}
);
}