Mercurial > hg > orthanc-stone
comparison Framework/Toolbox/GeometryToolbox.h @ 156:441cfe8e7440 wasm
fill matrix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 08 Feb 2018 15:22:35 +0100 |
parents | c5044bbfc303 |
children | 2309e8d86efe |
comparison
equal
deleted
inserted
replaced
155:7cd08a8ea7d0 | 156:441cfe8e7440 |
---|---|
134 const Vector& normal, | 134 const Vector& normal, |
135 double d, | 135 double d, |
136 const Vector& edgeFrom, | 136 const Vector& edgeFrom, |
137 const Vector& edgeTo); | 137 const Vector& edgeTo); |
138 | 138 |
139 void FillMatrix(Matrix& target, | |
140 size_t rows, | |
141 size_t columns, | |
142 const double values[]); | |
143 | |
144 void FillVector(Vector& target, | |
145 size_t size, | |
146 const double values[]); | |
147 | |
148 void Convert(Matrix& target, | |
149 const Vector& source); | |
150 | |
139 inline float ComputeBilinearInterpolationInternal(float x, | 151 inline float ComputeBilinearInterpolationInternal(float x, |
140 float y, | 152 float y, |
141 float f00, // source(x, y) | 153 float f00, // source(x, y) |
142 float f01, // source(x + 1, y) | 154 float f01, // source(x + 1, y) |
143 float f10, // source(x, y + 1) | 155 float f10, // source(x, y + 1) |