Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
150:62670cc2bb50 | 151:c5044bbfc303 |
---|---|
128 | 128 |
129 Matrix CreateRotationMatrixAlongY(double a); | 129 Matrix CreateRotationMatrixAlongY(double a); |
130 | 130 |
131 Matrix CreateRotationMatrixAlongZ(double a); | 131 Matrix CreateRotationMatrixAlongZ(double a); |
132 | 132 |
133 bool IntersectPlaneAndSegment(Vector& p, | |
134 const Vector& normal, | |
135 double d, | |
136 const Vector& edgeFrom, | |
137 const Vector& edgeTo); | |
138 | |
133 inline float ComputeBilinearInterpolationInternal(float x, | 139 inline float ComputeBilinearInterpolationInternal(float x, |
134 float y, | 140 float y, |
135 float f00, // source(x, y) | 141 float f00, // source(x, y) |
136 float f01, // source(x + 1, y) | 142 float f01, // source(x + 1, y) |
137 float f10, // source(x, y + 1) | 143 float f10, // source(x, y + 1) |