pyvista.spherical_to_cartesian#
- spherical_to_cartesian(r, phi, theta)[source]#
Convert Spherical coordinates to 3D Cartesian coordinates.
- Parameters:
- r
numpy.ndarray
Radial distance.
- phi
numpy.ndarray
Angle (radians) with respect to the polar axis. Also known as polar angle.
- theta
numpy.ndarray
Angle (radians) of rotation from the initial meridian plane. Also known as azimuthal angle.
- r
- Returns:
numpy.ndarray
,numpy.ndarray
,numpy.ndarray
Cartesian coordinates.