From c9f9997e67466445a1cc40cdd2ce32f967f0268e Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sun, 8 Apr 2012 08:42:03 +0000 Subject: [PATCH] Use floats in IfcPython --- src/ifcwrap/IfcPython.i | 2 +- src/ifcwrap/Interface.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ifcwrap/IfcPython.i b/src/ifcwrap/IfcPython.i index c9412d35ac..3510e9cf91 100644 --- a/src/ifcwrap/IfcPython.i +++ b/src/ifcwrap/IfcPython.i @@ -29,6 +29,6 @@ namespace std { %template(IntVector) vector; - %template(FloatVector) vector; + %template(FloatVector) vector; %template(ObjVector) vector; }; \ No newline at end of file diff --git a/src/ifcwrap/Interface.h b/src/ifcwrap/Interface.h index 4c9058848d..f75512371a 100644 --- a/src/ifcwrap/Interface.h +++ b/src/ifcwrap/Interface.h @@ -28,10 +28,10 @@ namespace IfcGeomObjects { class IfcMesh { public: int id; - std::vector verts; + std::vector verts; std::vector faces; std::vector edges; - std::vector normals; + std::vector normals; std::string brep_data; }; @@ -42,7 +42,7 @@ namespace IfcGeomObjects { std::string name; std::string type; std::string guid; - std::vector matrix; + std::vector matrix; const std::vector name_as_intvector() { std::vector r; for ( std::string::const_iterator it = name.begin(); it != name.end(); ++ it ) r.push_back(*it);