Skip to main content

Ellipsoid

GitHub source

Ellipsoid

evo.objects.typed.types.Ellipsoid

An ellipsoid defining a spatial region.

rotation

rotation: Rotation

The rotation of the ellipsoid, defaulting to no rotation if not specified.

surface_points

surface_points(
center: tuple[float, float, float] = (0, 0, 0), n_points: int = 20
) -> tuple[npt.NDArray[np.floating[Any]], npt.NDArray[np.floating[Any]], npt.NDArray[np.floating[Any]]]

Generate surface mesh points for 3D visualization.

wireframe_points

wireframe_points(
center: tuple[float, float, float] = (0, 0, 0), n_points: int = 30
) -> tuple[npt.NDArray[np.floating[Any]], npt.NDArray[np.floating[Any]], npt.NDArray[np.floating[Any]]]

Generate wireframe points for 3D visualization.

  • Major axis along X
  • Semi-major axis along Y
  • Minor axis along Z (up)

What is the reason for your feedback?