MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMakeSphereMesh.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMesh.h"
4
5namespace MR
6{
9
10
12{
13 float radius = 1;
14 int numMeshVertices = 100;
15};
16
18MRMESH_API Mesh makeSphere( const SphereParams & params );
19
21MRMESH_API Mesh makeUVSphere( float radius = 1.0, int horisontalResolution = 16, int verticalResolution = 16 );
22
23}
MRMESH_API Mesh makeSphere(const SphereParams &params)
creates a mesh of sphere with irregular triangulation
MRMESH_API Mesh makeUVSphere(float radius=1.0, int horisontalResolution=16, int verticalResolution=16)
creates a mesh of sphere with regular triangulation (parallels and meridians)
int numMeshVertices
Definition MRMakeSphereMesh.h:14
float radius
Definition MRMakeSphereMesh.h:13
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRMesh.h:23
Definition MRMakeSphereMesh.h:12