diff Framework/Toolbox/GeometryToolbox.h @ 165:8d50e6be565d wasm

LinearAlgebra toolbox
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 15 Feb 2018 13:51:29 +0100
parents a053ca7fa5c6
children 01e32beee56c
line wrap: on
line diff
--- a/Framework/Toolbox/GeometryToolbox.h	Wed Feb 14 16:49:43 2018 +0100
+++ b/Framework/Toolbox/GeometryToolbox.h	Thu Feb 15 13:51:29 2018 +0100
@@ -75,6 +75,14 @@
 
     Matrix CreateRotationMatrixAlongZ(double a);
 
+    Matrix CreateTranslationMatrix(double dx,
+                                   double dy,
+                                   double dz);
+
+    Matrix CreateScalingMatrix(double sx,
+                               double sy,
+                               double sz);
+    
     bool IntersectPlaneAndSegment(Vector& p,
                                   const Vector& normal,
                                   double d,