#include <capped_cylinder_mesh.hpp>
Like CylinderMesh but with end caps.
Definition at line 47 of file capped_cylinder_mesh.hpp.
◆ triangles_t
◆ vertices_t
◆ capped_cylinder_mesh_t()
| capped_cylinder_mesh_t::capped_cylinder_mesh_t |
( |
double | radius = 1.0, |
|
|
double | size = 1.0, |
|
|
int | slices = 32, |
|
|
int | segments = 8, |
|
|
int | rings = 4, |
|
|
double | start = 0.0, |
|
|
double | sweep = gml::radians(360.0) ) |
- Parameters
-
| radius | Radius of the cylinder along the xy-plane. |
| size | Half of the length cylinder along the z-axis. |
| slices | Number of subdivisions around the z-axis. |
| segments | Number of subdivisions along the z-axis. |
| rings | Number of subdivisions on the caps. |
| start | Counterclockwise angle around the z-axis relative to x-axis. |
| sweep | Counterclockwise angle around the z-axis. |
Definition at line 11 of file capped_cylinder_mesh.cpp.
◆ triangles()
| triangles_t generator::capped_cylinder_mesh_t::triangles |
( |
| ) |
const |
|
inlinenoexcept |
◆ vertices()
| vertices_t generator::capped_cylinder_mesh_t::vertices |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following files: