distance3d.random.randn_triangle

distance3d.random.randn_triangle(random_state)[source]

Sample triangle.

Parameters:
random_statenp.random.RandomState

Random number generator.

Returns:
triangle_pointsarray, shape (3, 3)

Each row contains a point of the triangle (A, B, C) sampled from a standard normal distribution.