function output = getPointCoordinates(obj, pointsIndices) % the output are the three coordinates in space of the given volume indices. % this function is the inverse of obj.getPointIndexInVolume coordinatesX = obj.getPointsCoordinatesX(pointsIndices(:,1)); coordinatesY = obj.getPointsCoordinatesY(pointsIndices(:,2)); coordinatesZ = obj.getPointsCoordinatesZ(pointsIndices(:,3)); output = [coordinatesX, coordinatesY, coordinatesZ]; end