distance3d.random.randn_plane

distance3d.random.randn_plane(random_state, scale=1.0)[source]

Sample plane in 3D.

Parameters:
random_statenp.random.RandomState

Random number generator.

scalefloat, optional (default: 1)

Scale of point sampled from normal distribution.

Returns:
plane_pointarray, shape (3,)

3D Point sampled from normal distribution.

plane_normalarray, shape (3,)

Plane normal: 3D vector of unit length.