rbox(1)
hey bestie! π welcome to rbox(1), straight from the General Commands Manual. this is your girl explaining rbox β the tool that generates point distributions for qhull. periodt. β¨
β¨ NAME β¨
rbox β generate point distributions for qhull π¦
β¨ SYNOPSIS β¨
command rbox (w/o arguments) lists the options. π
no cap, just run it with no args and it spills the tea on all the options.
β¨ DESCRIPTION β¨
rbox generates random or regular points according to the options given, and outputs the points to stdout. the points are generated in a cube, unless 's' or 'k' option is given. the format of the output is the following: first line contains the dimension and a comment, second line contains the number of points, and the following lines contain the points, one point per line. points are represented by their coordinate values. πΈ
β¨ EXAMPLES β¨
rbox 10β 10 random points in the unit cube centered at the origin. π§rbox 10 s D2β 10 random points on a 2βd circle. π«rbox 100 W0β 100 random points on the surface of a cube. π²rbox 1000 s D4β 1000 random points on a 4βd sphere. πrbox c D5 O0.5β a 5βd hypercube with one corner at the origin. πrbox d D10β a 10βd diamond. πrbox x 1000 r W0β 100 random points on the surface of a fixed simplex. πΊrbox y D12β a 12βd simplex. β¨rbox l 10β 10 random points along a spiral. πrbox l 10 rβ 10 regular points along a spiral plus two end points. πrbox 1000 L10000 D4 sβ 1000 random points on the surface of a narrow lens. πrbox c G2 d G3β a cube with coordinates +2/-2 and a diamond with coordinates +3/-3. πrbox 64 M3,4 zβ a rotated, {0,1,2,3} x {0,1,2,3} x {0,1,2,3} lattice (Mesh) of integer points.'rbox 64 M1,0'is orthogonal. π§rbox P0 P0 P0 P0 P0β 5 copies of the origin in 3-d. try'rbox P0 P0 P0 P0 P0 | qhull QJ'. π«Άr 100 s Z1 G0.1β two cospherical 100-gons plus another cospherical point. πΈ100 s Z1β a cone of points. πΊ100 s Z1e-7β a narrow cone of points with many precision errors. π
β¨ OPTIONS β¨
nβ bestie, this is the number of points. πDnβ dimension n-d (default is 3-d). β¨Bnβ bounding box coordinates (default0.5). πlβ spiral distribution, available only in 3-d. πLnβ lens distribution of radius n. may be used with's','r','G', and'W'. πMn,m,rβ lattice (Mesh) rotated by{[n,-m,0], [m,n,0], [0,0,r], ...}. use'Mm,n'for a rigid rotation withr = sqrt(n^2+m^2).'M1,0'is an orthogonal lattice. for example,'27 M1,0'is{0,1,2} x {0,1,2} x {0,1,2}.'27 M3,4 z'is a rotated integer lattice. π§sβ cospherical points randomly generated in a cube and projected to the unit sphere. πxβ simplicial distribution. it is fixed for option'r'. may be used with'W'. πΊyβ simplicial distribution plus a simplex. both'x'and'y'generate the same points. π»Wnβ restrict points to distance n of the surface of a sphere or a cube. π²cβ add a unit cube to the output. π§c Gmβ add a cube with all combinations of+mand-mto the output. πdβ add a unit diamond to the output. πd Gmβ add a diamond made of0,+mand-mto the output. πCn,r,mβ add n nearly coincident points within radius r of m points. πΈPn,m,rβ add point[n,m,r]to the output first. pad coordinates with0.0. πnβ remove the command line from the first line of output. ποΈOnβ offset the data by adding n to each coordinate. βtβ use time in seconds as the random number seed (default is command line). β°tnβ set the random number seed to n. π²zβ generate integer coordinates. use'Bn'to change the range. the default is'B1e6'for sixβdigit coordinates. inR^4, sevenβdigit coordinates will overflow hyperplane normalization. πZn sβ restrict points to a disk about thez+axis and the sphere (defaultZ1.0). includes the opposite pole.'Z1e-6'generates degenerate points under single precision. β οΈZn Gm sβ same asZnwith an empty center (defaultG0.5). π³οΈr s D2β generate a regular polygon. ⬑r s Z1 G0.1β generate a regular cone. πΊ
β¨ BUGS β¨
some combinations of arguments generate odd results. π
report bugs to qhull_bug@qhull.org, other correspondence to qhull@qhull.org. π
β¨ SEE ALSO β¨
qhull(1) π
β¨ AUTHOR β¨
C. Bradford Barber bradb@shore.net
this iconic manual page is from the Geometry Center, dated August 10, 1998, and it's for rbox(1). stay slay, bestie. π
β¨
π¦ where this page comes from
- alpine 3.24: qhull-doc 2020.2-r3 Β· custom
- arch rolling: qhull 2020.2-6 Β· LicenseRef-qhull
- debian bookworm: qhull-bin 2020.2-5 Β· Qhull
- debian trixie: qhull-bin 2020.2-6+b2 Β· Qhull
- epel 10: qhull 1:8.0.2-2.el10_0 Β· Qhull
- fedora 43: qhull 1:8.0.2-7.fc43 Β· Qhull
- fedora 43: qhull 1:8.0.2-7.fc43 Β· Qhull
- fedora 44: qhull 1:8.0.2-8.fc44 Β· Qhull
- fedora 44: qhull 1:8.0.2-8.fc44 Β· Qhull
- nixos 26.05: qhull 2020.2
- nixpkgs unstable: qhull 2020.2
- opensuse-leap 16.0: qhull 2020.2-160000.2.2 Β· Qhull
- opensuse-leap 16.0: qhull 2020.2-160000.2.2 Β· Qhull
- opensuse-leap 16.0: qhull 2020.2-160000.2.2 Β· Qhull
- opensuse-leap 16.0: qhull 2020.2-160000.2.2 Β· Qhull
- ubuntu jammy: qhull-bin 2020.2-4 Β· Qhull
- ubuntu noble: qhull-bin 2020.2-6build1 Β· Qhull
- ubuntu questing: qhull-bin 2020.2-6build1
- ubuntu resolute: qhull-bin 2020.2-8 Β· Qhull
- ubuntu stonking: qhull-bin 2020.2-9 Β· Qhull
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms