mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 14:07:43 +00:00
Proceed with merge
This commit is contained in:
@@ -17,13 +17,13 @@
|
||||
* *
|
||||
********************************************************************************/
|
||||
|
||||
#include "../ifcgeom/IfcGeom.h"
|
||||
|
||||
#define Kernel MAKE_TYPE_NAME(Kernel)
|
||||
#include "mapping.h"
|
||||
#define mapping POSTFIX_SCHEMA(mapping)
|
||||
using namespace ifcopenshell::geometry;
|
||||
|
||||
#ifdef SCHEMA_HAS_IfcSurfaceCurve
|
||||
bool IfcGeom::Kernel::convert(const IfcSchema::IfcSurfaceCurve* sc, Handle(Geom_Curve)& curve) {
|
||||
taxonomy::item* mapping::map_impl(const IfcSchema::IfcSurfaceCurve* inst) {
|
||||
// @todo take into account PCurves.
|
||||
return convert_curve(sc->Curve3D(), curve);
|
||||
return map(inst->Curve3D());
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user