MeshLib C++ Docs
Loading...
Searching...
No Matches
MRTorus.h
Go to the documentation of this file.
1#pragma once
2#include "MRMeshFwd.h"
3
4namespace MR
5{
8
11MRMESH_API Mesh makeTorus( float primaryRadius = 1.0f, float secondaryRadius = 0.1f, int primaryResolution = 16, int secondaryResolution = 16,
12 std::vector<Vector3f>* points = nullptr );
13
16MRMESH_API Mesh makeOuterHalfTorus( float primaryRadius = 1.0f, float secondaryRadius = 0.1f, int primaryResolution = 16, int secondaryResolution = 16,
17 std::vector<Vector3f>* points = nullptr );
18
21MRMESH_API Mesh makeTorusWithUndercut( float primaryRadius = 1.0f, float secondaryRadiusInner = 0.1f, float secondaryRadiusOuter = 0.2f, int primaryResolution = 16, int secondaryResolution = 16,
22 std::vector<Vector3f>* points = nullptr );
23
26MRMESH_API Mesh makeTorusWithSpikes( float primaryRadius = 1.0f, float secondaryRadiusInner = 0.1f, float secondaryRadiusOuter = 0.5f, int primaryResolution = 16, int secondaryResolution = 16,
27 std::vector<Vector3f>* points = nullptr );
28
31MRMESH_API Mesh makeTorusWithComponents( float primaryRadius = 1.0f, float secondaryRadius = 0.1f, int primaryResolution = 16, int secondaryResolution = 16,
32 std::vector<Vector3f>* points = nullptr );
33
36MRMESH_API Mesh makeTorusWithSelfIntersections( float primaryRadius = 1.0f, float secondaryRadius = 0.1f, int primaryResolution = 16, int secondaryResolution = 16,
37 std::vector<Vector3f>* points = nullptr );
38}
MRMESH_API Mesh makeTorusWithSpikes(float primaryRadius=1.0f, float secondaryRadiusInner=0.1f, float secondaryRadiusOuter=0.5f, int primaryResolution=16, int secondaryResolution=16, std::vector< Vector3f > *points=nullptr)
MRMESH_API Mesh makeTorusWithSelfIntersections(float primaryRadius=1.0f, float secondaryRadius=0.1f, int primaryResolution=16, int secondaryResolution=16, std::vector< Vector3f > *points=nullptr)
MRMESH_API Mesh makeTorusWithUndercut(float primaryRadius=1.0f, float secondaryRadiusInner=0.1f, float secondaryRadiusOuter=0.2f, int primaryResolution=16, int secondaryResolution=16, std::vector< Vector3f > *points=nullptr)
MRMESH_API Mesh makeTorusWithComponents(float primaryRadius=1.0f, float secondaryRadius=0.1f, int primaryResolution=16, int secondaryResolution=16, std::vector< Vector3f > *points=nullptr)
MRMESH_API Mesh makeTorus(float primaryRadius=1.0f, float secondaryRadius=0.1f, int primaryResolution=16, int secondaryResolution=16, std::vector< Vector3f > *points=nullptr)
MRMESH_API Mesh makeOuterHalfTorus(float primaryRadius=1.0f, float secondaryRadius=0.1f, int primaryResolution=16, int secondaryResolution=16, std::vector< Vector3f > *points=nullptr)
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRMesh.h:23