Ellipsoid.sample#

Ellipsoid.sample(n_samples, radii=None, center=None, orientations=None, sample_mesh=False, mesh_init_factor=None)#

Samples points from the surface of an ellisoid.

Parameters:
n_samplesint

Number of samples to draw

radiinp.ndarray

Radii of the ellipse along each axis

centernp.ndarray

Center of the ellipse along each axis

orientationsnp.ndarray

Square orientation matrix

Returns:
np.ndarray

Sampled points.