From e1702fc0cf12efd43118d434c7d0898287ad6994 Mon Sep 17 00:00:00 2001 From: Ken Arroyo Ohori Date: Mon, 6 Feb 2017 16:22:54 -0600 Subject: [PATCH] =?UTF-8?q?Return=20value=20for=20transformation,=20still?= =?UTF-8?q?=20needs=20to=20be=20initialised=20somewhere=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ifcgeom/kernels/cgal/CgalConversionResult.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcgeom/kernels/cgal/CgalConversionResult.h b/src/ifcgeom/kernels/cgal/CgalConversionResult.h index 3fb4bb7e67..92c80dc32a 100644 --- a/src/ifcgeom/kernels/cgal/CgalConversionResult.h +++ b/src/ifcgeom/kernels/cgal/CgalConversionResult.h @@ -35,7 +35,7 @@ namespace IfcGeom { virtual double Value(int i, int j) const { // Get cell from placement as 4x3 matrix as implemented in OCCT. We'll have to check exact semantics. - throw std::runtime_error("Not implemented"); + return CGAL::to_double(trsf_->cartesian(i, j)); } virtual void Multiply(const ConversionResultPlacement* other) { // Multiply matrix as implemented in OCCT. We'll have to check exact semantics.