Ellipsoid#
- class Ellipsoid(radii, center, orientations)#
Parametrize a point cloud as ellipsoid.
Methods
Ellipsoid.compute_normal
(points)Compute the normal vector at a given point on the ellipsoid surface.
Ellipsoid.fit
(positions)Fit an ellipsoid to a set of 3D points.
Ellipsoid.points_per_sampling
(sampling_density)Computes the apporximate number of random samples required to achieve a given sampling_density.
Ellipsoid.sample
(n_samples[, radii, center, ...])Samples points from the surface of an ellisoid.