Fix Image_3

The value outside must be 0. in the trilinear interpolation of indicator
functions.
This commit is contained in:
Laurent Rineau 2016-04-19 12:24:30 +02:00
parent 81e53df5f1
commit e8bd026dd0
1 changed files with 1 additions and 1 deletions

View File

@ -517,7 +517,7 @@ Image_3::labellized_trilinear_interpolation
Image_word_type iwt = labels[i];
const double r =
trilinear_interpolation<Image_word_type,double,Coord_type>(
x, y, z, value_outside, indicator_factory.indicator(iwt));
x, y, z, 0., indicator_factory.indicator(iwt));
CGAL_assertion(r >= 0.);
CGAL_assertion(r <= 1.);