diff Framework/Toolbox/GeometryToolbox.h @ 157:2309e8d86efe wasm

IntersectPlaneAndLine
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 09 Feb 2018 16:00:29 +0100
parents 441cfe8e7440
children a053ca7fa5c6
line wrap: on
line diff
--- a/Framework/Toolbox/GeometryToolbox.h	Thu Feb 08 15:22:35 2018 +0100
+++ b/Framework/Toolbox/GeometryToolbox.h	Fri Feb 09 16:00:29 2018 +0100
@@ -136,6 +136,12 @@
                                   const Vector& edgeFrom,
                                   const Vector& edgeTo);
 
+    bool IntersectPlaneAndLine(Vector& p,
+                               const Vector& normal,
+                               double d,
+                               const Vector& origin,
+                               const Vector& direction);
+
     void FillMatrix(Matrix& target,
                     size_t rows,
                     size_t columns,