open3d.geometry.create_mesh_sphere¶
-
open3d.geometry.create_mesh_sphere(radius=1.0, resolution=20)¶ Factory function to create a sphere mesh centered at (0, 0, 0).
- Parameters
radius (float, optional, default=1.0) – The radius of the sphere.
resolution (int, optional, default=20) – The resolution of the sphere. The longitues will be split into
resolutionsegments (i.e. there areresolution + 1latitude lines including the north and south pole). The latitudes will be split into`2 * resolutionsegments (i.e. there are2 * resolutionlongitude lines.)
- Returns
open3d.geometry.TriangleMesh