function output = getPointsCoordinatesZ(obj, pointsIndicesZ) pointsLinearIndicesZ = pointsIndicesZ(:); coordinatesZ = obj.spatial.PatientPositions(pointsLinearIndicesZ,3); output = reshape(coordinatesZ, size(pointsIndicesZ)); end