cylinder_tube_space

Creates a tube, (a hollow cylinder with finite wall thickness).

../../_images/kgeobag_cylinder_tube_space_model.png
  • Works with MeshViewer: Yes.

  • Works with GeometryViewer: Yes.

XML element: <cylinder_tube_space>
C++ type: KGCylinderTubeSpace
Attributes

Attribute

Type

Description

axial_mesh_count

unsigned int

axial mesh parameter (default is 16)

length

double

longitudinal_mesh_count

unsigned int

longitudinal mesh parameter (default is 1)

longitudinal_mesh_power

double

longitudinal meshing power (default is 1.)

name

string

r1

double

the first radius in meters

r2

double

the second radius in meters

radial_mesh_count

unsigned int

radial mesh parameter (default is 1)

radial_mesh_power

double

radial meshing power (default is 1.)

z1

double

the first z position in meters

z2

double

the second z position in meters

Example:

<cylinder_tube_space name="cylinder_tube_space" z1="-0.45" r1="0.25" z2="0.45" r2="0.45" longitudinal_mesh_count="32" longitudinal_mesh_power="2." radial_mesh_count="24" radial_mesh_power="1.5" axial_mesh_count="32"/>

Used as:

More information

Explained in: Basic Shapes in KGeoBag

Appears in the documentation:

Used in example configurations: