public static V3d UniformV3dFullOpen(this IRandomUniform rnd) { return(new V3d(rnd.UniformDoubleFullOpen(), rnd.UniformDoubleFullOpen(), rnd.UniformDoubleFullOpen())); }
public static V3d UniformV3dFullOpen(this IRandomUniform rnd, Box3d box) { return(box.Lerp(rnd.UniformDoubleFullOpen(), rnd.UniformDoubleFullOpen(), rnd.UniformDoubleFullOpen())); }
public static V2d UniformV2dFullOpen(this IRandomUniform rnd, Box2d box) { return(new V2d(box.Min.X + rnd.UniformDoubleFullOpen() * (box.Max.X - box.Min.X), box.Min.Y + rnd.UniformDoubleFullOpen() * (box.Max.Y - box.Min.Y))); }