Mercurial > hg > orthanc-stone
diff Framework/Toolbox/GeometryToolbox.h @ 151:c5044bbfc303 wasm
CoordinateSystem3D::IntersectSegment()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 01 Feb 2018 17:37:03 +0100 |
parents | 62670cc2bb50 |
children | 441cfe8e7440 |
line wrap: on
line diff
--- a/Framework/Toolbox/GeometryToolbox.h Thu Feb 01 16:07:54 2018 +0100 +++ b/Framework/Toolbox/GeometryToolbox.h Thu Feb 01 17:37:03 2018 +0100 @@ -130,6 +130,12 @@ Matrix CreateRotationMatrixAlongZ(double a); + bool IntersectPlaneAndSegment(Vector& p, + const Vector& normal, + double d, + const Vector& edgeFrom, + const Vector& edgeTo); + inline float ComputeBilinearInterpolationInternal(float x, float y, float f00, // source(x, y)