distance3d.random.rand_ellipse¶
- distance3d.random.rand_ellipse(random_state, center_scale=1.0, radii_scale=1.0)[source]¶
Sample ellipse.
- Parameters:
- random_statenp.random.RandomState
Random number generator.
- center_scalefloat, optional (default: 1)
Scale the center point by this factor.
- radii_scalefloat, optional (default: 1)
Scale the radii by this factor.
- Returns:
- centerarray, shape (3,)
Center of ellipse.
- axesarray, shape (2, 3)
Axes of ellipse.
- radiiarray, shape (2,)
Radii of ellipse.