private static XYZ GetXYZ(string arg) { return(arg.ToLowerInvariant().Equals("offmap") ? SpecialLocation.OffOfMap : XYZ.FromString(arg)); }