OptionalallowOptionalorigin?: booleanfalse excludes the point (0, 0, 0) (default true).
OptionalaxisWhere the point lies relative to the axes (default null).
'x', 'y', 'z': on that axis (the two other coordinates are zero).true: on one of the three axes, chosen at random.false: on no axis and in no coordinate plane (no coordinate is zero).null: unconstrained (a coordinate may be zero).Exclusive with plane.
Optionalfractionfalse (default): integer coordinates; true: fractions; object: full control over the fractions.
OptionaloctantRestricts the point to one octant, or to a union of octants (default null).
Axes and planes belong to the octants. With several octants, one of them is chosen uniformly,
then the point is drawn in it.
OptionalplaneCoordinate plane containing the point (default null).
'xy' (z = 0), 'xz' (y = 0), 'yz' (x = 0): the other two coordinates are free.true: in one of the three planes, chosen at random.false / null: no constraint.Exclusive with axis.
OptionalrangeInterval of the coordinates (default 10). A number d means [-|d|, |d|]
(so 10 and -10 are equivalent); {min, max} gives explicit bounds.
Options of
rndPoint3.