public static IEnumerable <IVoxel> GetRangeCircle(this IVoxel center, int radius) { return(center.GetRange(radius).Where(v => center.GetOffset(v).GetLength() <= radius)); }
public IEnumerable <IVoxelHandle> GetRange(int radius) { return(currentVoxel.GetRange(radius).Cast <IVoxelHandle>()); }