Like TubeMesh but with end caps.
More...
#include <CeresEngine/Mesh/Generator/CappedTubeMesh.hpp>
Like TubeMesh but with end caps.
◆ Impl
◆ Triangles
◆ Vertices
◆ CappedTubeMesh()
| CeresEngine::MeshGenerator::CappedTubeMesh::CappedTubeMesh |
( |
double |
radius = 1.0, |
|
|
double |
innerRadius = 0.75, |
|
|
double |
size = 1.0, |
|
|
int |
slices = 32, |
|
|
int |
segments = 8, |
|
|
int |
rings = 1, |
|
|
double |
start = 0.0, |
|
|
double |
sweep = radians(360.0) |
|
) |
| |
|
explicit |
- Parameters
-
| radius | The outer radius of the cylinder on the xy-plane. |
| innerRadius | The inner radius of the cylinder on the xy-plane. |
| size | Half of the length of the cylinder along the z-axis. |
| slices | Number nubdivisions around the z-axis. |
| segments | Number of subdivisions along the z-axis. |
| rings | Number radial subdivisions in the cap. |
| start | Counterclockwise angle around the z-axis relative to the x-axis. |
| sweep | Counterclockwise angle around the z-axis. |
◆ triangles()
| Triangles CeresEngine::MeshGenerator::CappedTubeMesh::triangles |
( |
| ) |
const |
|
inlinenoexcept |
◆ vertices()
| Vertices CeresEngine::MeshGenerator::CappedTubeMesh::vertices |
( |
| ) |
const |
|
inlinenoexcept |
◆ mMergeMesh
| Impl CeresEngine::MeshGenerator::CappedTubeMesh::mMergeMesh |
|
private |
The documentation for this class was generated from the following file:
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/Mesh/Generator/CappedTubeMesh.hpp