surfa.mesh.sphere.SphericalMapBarycentric
surfa.mesh.sphere.SphericalMapBarycentric#
- class surfa.mesh.sphere.SphericalMapBarycentric(sphere, shape=(256, 512))#
A barycentric interpolator to map spherical surface overlays into a 2D image grid with (phi, theta) units.
- Parameters
sphere (Mesh) – Spherical mesh to build parameterization map on.
shape (tuple of int) – 2D shape of the output parameterization map.
Methods
- parameterize(overlay)#
Parameterize a spherical surface overlay into a 2D (phi, theta) map.