mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Return value
This commit is contained in:
@@ -31,7 +31,6 @@ using namespace IfcGeom;
|
||||
using namespace IfcGeom::util;
|
||||
|
||||
bool OpenCascadeKernel::convert(const taxonomy::solid::ptr solid, TopoDS_Shape& result) {
|
||||
BRep_Builder BB;
|
||||
TopoDS_Shape S;
|
||||
|
||||
if (solid->instance->declaration().is("IfcHalfSpaceSolid")) {
|
||||
@@ -82,6 +81,7 @@ bool OpenCascadeKernel::convert(const taxonomy::solid::ptr solid, TopoDS_Shape&
|
||||
if (!S.IsNull()) {
|
||||
result = S;
|
||||
}
|
||||
return !result.IsNull();
|
||||
}
|
||||
|
||||
bool OpenCascadeKernel::convert_impl(const taxonomy::solid::ptr solid , IfcGeom::ConversionResults& results) {
|
||||
|
||||
Reference in New Issue
Block a user