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