cylinder_surface
Generates a cylinder centered on the z axis.
Works with MeshViewer: Yes.
Works with GeometryViewer: Yes.
XML element:
<cylinder_surface>C++ type:
KGCylinderSurfaceDefined in: KGCylinderSurfaceBuilder.hh:18
Attribute |
Type |
Description |
|---|---|---|
|
|
axial mesh parameter (default is 16) |
|
|
|
|
|
longitudinal mesh parameter (default is 1) |
|
|
longitudinal meshing power (default is 1.) |
|
|
|
|
|
radius in meters |
|
|
the first z position in meters |
|
|
the second z position in meters |
Example:
<cylinder_surface name="cylinder_surface" z1="-0.3" z2="0.4" r="0.55" longitudinal_mesh_count="15" longitudinal_mesh_power="2." axial_mesh_count="32"/>
Used as:
<cylinder_surface>in <geometry>
More information
Explained in: Basic Shapes in KGeoBag
Appears in the documentation:
Basic Shapes in KGeoBag (Cylinder surface)
Geometry section (Shapes and assemblies)
Used in example configurations: