mirror of https://github.com/CGAL/cgal
Merge pull request #7527 from janetournois/Mesh_3-fix_weighted_image_oracle-jtournois
Mesh_3 for weighted images - fix translated labeled image case
This commit is contained in:
commit
ed44ef81fa
|
|
@ -116,9 +116,9 @@ public:
|
||||||
{
|
{
|
||||||
return static_cast<return_type>(transform(
|
return static_cast<return_type>(transform(
|
||||||
r_im_.template labellized_trilinear_interpolation<Image_word_type>(
|
r_im_.template labellized_trilinear_interpolation<Image_word_type>(
|
||||||
CGAL::to_double(p.x()),
|
CGAL::to_double(p.x() - r_im_.image()->tx),
|
||||||
CGAL::to_double(p.y()),
|
CGAL::to_double(p.y() - r_im_.image()->ty),
|
||||||
CGAL::to_double(p.z()),
|
CGAL::to_double(p.z() - r_im_.image()->tz),
|
||||||
value_outside,
|
value_outside,
|
||||||
indicator_factory)));
|
indicator_factory)));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue