private static double QueryComplementVolume(DVHPoint[] dvh, MayoQuery query) { var doseUnit = query.GetDoseUnit(); var doseValue = new DoseValue(query.QueryValue, doseUnit); return(dvh.GetComplementVolumeAtDose(doseValue)); }
private static double QueryMeanDose(DVHPoint[] dvh, MayoQuery query) { var mean = dvh.MeanDose(); var doseUnit = query.GetDoseUnit(); return(mean.GetDose(doseUnit)); }
private static double QueryDoseComplement(DVHPoint[] dvh, MayoQuery query) { var dose = dvh.GetDoseComplement(query.QueryValue); var doseUnit = query.GetDoseUnit(); return(dose.GetDose(doseUnit)); }
private static double QueryMaxDose(DVHPoint[] dvh, MayoQuery query) { var max = dvh.MaxDose(); var doseUnit = query.GetDoseUnit(); return(max.GetDose(doseUnit)); }